#21AF5E#21AF5E
#21AF5E is a light, vivid green. Relative luminance 0.318; OKLCH L 66.4% C 0.165 H 152.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #21AF5E |
|---|---|
| RGB | rgb(33, 175, 94) |
| HSL | hsl(146, 68%, 41%) |
| HSV | hsv(146, 81%, 69%) |
| CMYK | cmyk(81.1%, 0%, 46.3%, 31.4%) |
| CIE-LAB | lab(63.17, -54.24, 31.45) |
| CIE-LCH | lch(63.17, 62.70, 149.89°) |
| OKLab | oklab(66.42% -0.1456 0.0772) |
| OKLCH | oklch(66.42% 0.165 152.1) |
| XYZ | xyz(17.9759, 31.7892, 15.7760) |
| Luminance | 0.3179 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jade Green
#2BAF6A
ΔE00 2.24
Cool Green
#33B864
ΔE00 2.75
Seaweed Green
#35AD6B
ΔE00 2.77
Mediumseagreen
#3CB371
ΔE00 3.36
Shamrock
#01B44C
ΔE00 3.59
Algae
#54AC68
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21AF5E #AF2172
analogous
#2BAF21 #21AF5E #21AFA5
triadic
#21AF5E #5E21AF #AF5E21
tetradic
#21AF5E #212BAF #AF2172 #AFA521
square
#21AF5E #212BAF #AF2172 #AFA521
split-complementary
#21AF5E #A521AF #AF212B
monochromatic
#0E4827 #177C42 #21AF5E #34D97B #68E39D
Accessibility & contrast
On white
2.85
#21AF5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#21AF5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #21AF5E
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21AF5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21AF5E | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA058
Deuteranopia (green-blind)
#9F9464
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #21af5e; /* rgb */ color: rgb(33, 175, 94); /* oklch */ color: oklch(66.4% 0.165 152.1);
Tailwind
colors: {
custom: {
50: '#76c88d',
500: '#21af5e',
950: '#000000',
},
}SCSS
$custom: #21af5e; $custom-light: #76c88d; $custom-dark: #000000;
JSON
{
"hex": "#21af5e",
"rgb": {
"r": 33,
"g": 175,
"b": 94
},
"hsl": {
"h": 145.775,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.66419,
"c": 0.16484,
"h": 152.1
},
"luminance": 0.31791
}Semantic roles & 50–950 ramp
primary
#21AF5E
secondary
#C8649D
accent
#3DA0EB
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D