#21AF5F#21AF5F
#21AF5F is a light, vivid green. Relative luminance 0.318; OKLCH L 66.4% C 0.164 H 152.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #21AF5F |
|---|---|
| RGB | rgb(33, 175, 95) |
| HSL | hsl(146, 68%, 41%) |
| HSV | hsv(146, 81%, 69%) |
| CMYK | cmyk(81.1%, 0%, 45.7%, 31.4%) |
| CIE-LAB | lab(63.18, -54.06, 30.95) |
| CIE-LCH | lch(63.18, 62.30, 150.21°) |
| OKLab | oklab(66.44% -0.1452 0.0761) |
| OKLCH | oklch(66.44% 0.164 152.3) |
| XYZ | xyz(18.0211, 31.8073, 16.0139) |
| Luminance | 0.3181 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jade Green
#2BAF6A
ΔE00 2.06
Seaweed Green
#35AD6B
ΔE00 2.60
Cool Green
#33B864
ΔE00 2.77
Mediumseagreen
#3CB371
ΔE00 3.21
Shamrock
#01B44C
ΔE00 3.75
Algae
#54AC68
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21AF5F #AF2171
analogous
#2AAF21 #21AF5F #21AFA6
triadic
#21AF5F #5F21AF #AF5F21
tetradic
#21AF5F #212AAF #AF2171 #AFA621
square
#21AF5F #212AAF #AF2171 #AFA621
split-complementary
#21AF5F #A621AF #AF212A
monochromatic
#0E4827 #177C43 #21AF5F #34D97C #68E39D
Accessibility & contrast
On white
2.85
#21AF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#21AF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #21AF5F
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21AF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21AF5F | 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)
#AFA059
Deuteranopia (green-blind)
#9F9465
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #21af5f; /* rgb */ color: rgb(33, 175, 95); /* oklch */ color: oklch(66.4% 0.164 152.3);
Tailwind
colors: {
custom: {
50: '#76c88d',
500: '#21af5f',
950: '#000000',
},
}SCSS
$custom: #21af5f; $custom-light: #76c88d; $custom-dark: #000000;
JSON
{
"hex": "#21af5f",
"rgb": {
"r": 33,
"g": 175,
"b": 95
},
"hsl": {
"h": 146.197,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.66437,
"c": 0.16393,
"h": 152.3
},
"luminance": 0.3181
}Semantic roles & 50–950 ramp
primary
#21AF5F
secondary
#C8649C
accent
#3D9FEB
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D