Skip to content

#22e821

a balanced, electric green · cool · closest name: Lime

RGB
34, 232, 33
HSL
120°, 81%, 52%
CMYK
85, 0, 86, 9
Luminance
0.5816

At a glance

Every number on this page in one read: what #22e821 is made of, how bright it looks, and which way it leans.

Hex
#22e821
Hue
120°
green
Saturation
81%
electric
Lightness
52%
balanced
Brightness
91%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5816
WCAG relative
Temperature
Cool
62/100 cool
Color family
Green
Tone
Electric
Best ink
Black
12.63:1
Closest name
Lime
ΔE2000 5
Where it sits
Hue120° of 360°
Saturation81%
Lightness52%
Temperature
Warm ← → Cool62% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#22e821
RGBrgb(34, 232, 33)
HSLhsl(120, 81%, 52%)
CMYKcmyk(85%, 0%, 86%, 9%)
LABlab(80.8 -77.7 73.5)
LCHlch(80.8 107.0 136.6)
OKLCHoklch(0.809 0.266 142.6)
Decimal2287649
Display P3color(display-p3 0.133 0.910 0.129)

Copy-ready code

/* CSS */
color: #22e821;
background-color: #22e821;
/* Tailwind (arbitrary) */
class="text-[#22e821] bg-[#22e821]"
/* SCSS */
$brand: #22e821;
/* SwiftUI */
Color(red: 0.133, green: 0.910, blue: 0.129)
/* Android */
Color.parseColor("#22e821")
/* Flutter */
Color(0xFF22E821)
/* Python / OpenCV (BGR) */
(33, 232, 34)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #22e821 · 12.63:1
Use #000000AAA at every size.
Aa
White text · 1.66:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.63:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #22e821 as text scores 1.66:1 on white and 12.63:1 on black.

Accessibility — WCAG contrast

Aa
#22e821 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#22e821 on black: 12.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EDD100
deuteranopia · #D9C33F
tritanopia · #00E1C6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #22e821 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3FCF3
#E6F9E6
#C6F6C6
#9AF499
#67EF67
#22e821
#18DE17
#14B913
#10940F
#106B0F
#0A430A
Base = 500Lightest = 50 · #F3FCF3Darkest = 950 · #0A430A
:root {
  --brand-50: #F3FCF3;
  --brand-100: #E6F9E6;
  --brand-200: #C6F6C6;
  --brand-300: #9AF499;
  --brand-400: #67EF67;
  --brand-500: #22e821;
  --brand-600: #18DE17;
  --brand-700: #14B913;
  --brand-800: #10940F;
  --brand-900: #106B0F;
  --brand-950: #0A430A;
  --brand: #22e821;
  --brand-ink: #000000;
}

Colors that work with #22e821

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAF4
Tinted page background
Border#C0EDC0
Hairlines and dividers
Muted text#4B9B4B
Captions on the surface
Accent#B81CED
Second voice, not a rival
Dark variant#0D740C
Hover, pressed, headers
Light variant#E8FDE8
Selected rows, tints
Dark surface#142414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #22e821

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#E721E8
Analogous left#86E821
Analogous right#21E884
Split-complement 1#8421E8
Split-complement 2#E82186
Triadic 1#2122E8
Triadic 2#E82122
Tetradic#2186E8

RGB percentages

Red13.3%
Green91.0%
Blue12.9%

CMYK percentages

Cyan85.3%
Magenta0.0%
Yellow85.8%
Key (black)9.0%

Color previews

#22e821 text on a black background

contrast 12.63:1

Card sample

#22e821 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #22e821;
Background color
Panel with #22e821 background
background-color: #22e821;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #22e821;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(34, 232, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(34, 232, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #22e821;
background: linear-gradient(135deg, #22e821, #21E8A5);

Monochromatic scale

Palettes built from #22e821

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#22e821 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#22e821, answered

What color is #22e821?

#22e821 is a balanced electric green, closest to Lime (ΔE2000 5). It sits at 120° on the hue wheel with 81% saturation and 52% lightness, which reads as cool.

What is the RGB value of #22e821?

rgb(34, 232, 33) — 34 red, 232 green and 33 blue out of 255, or 13.3% / 91% / 12.9% by channel.

Is #22e821 a light or a dark color?

It is a light color. Relative luminance is 0.5816 and perceived brightness is 70%, so black text on it reaches 12.63:1.

Should I use black or white text on #22e821?

Black. It scores 12.63:1 against #22e821, versus 1.66:1 for white — AAA at any size.

What is the complementary color of #22e821?

#E721E8 sits directly opposite on the wheel. Softer options are the split-complements #8421E8 and #E82186, which give the same contrast with far less vibration.

What colors go well with #22e821?

For interface work: #F4FAF4 as the surface, #C0EDC0 for borders, #4B9B4B for secondary text, #B81CED as an accent and #0D740C for hover and pressed states. For a palette, the analogous pair #86E821 and #21E884 stays calm, while #E721E8 is the loudest partner.

What is #22e821 in CMYK for printing?

cmyk(85%, 0%, 86%, 9%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #22e821 warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6BE821; nudged cooler, #1FEA68.

Work with #22e821 in the Color Lab