#21902C#21902C
#21902C is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.168 H 144.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #21902C |
|---|---|
| RGB | rgb(33, 144, 44) |
| HSL | hsl(126, 63%, 35%) |
| HSV | hsv(126, 77%, 56%) |
| CMYK | cmyk(77.1%, 0%, 69.4%, 43.5%) |
| CIE-LAB | lab(52.34, -50.52, 42.81) |
| CIE-LCH | lch(52.34, 66.22, 139.72°) |
| OKLab | oklab(57.25% -0.1366 0.0985) |
| OKLCH | oklch(57.25% 0.168 144.2) |
| XYZ | xyz(11.0543, 20.4504, 5.7471) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.67
Irish Green
#019529
ΔE00 1.91
Forestgreen (CSS)
#228B22
ΔE00 1.99
Kelley Green
#009337
ΔE00 2.25
True Green
#089404
ΔE00 3.63
Fern Green
#548D44
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21902C #902185
analogous
#4E9021 #21902C #219064
triadic
#21902C #2C2190 #902C21
tetradic
#21902C #214E90 #902185 #906421
square
#21902C #214E90 #902185 #906421
split-complementary
#21902C #642190 #90214E
monochromatic
#0A2C0E #165E1D #21902C #2CC23B #54D861
Accessibility & contrast
On white
4.13
#21902C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#21902C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #21902C
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21902C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##21902C | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#867A35
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #21902c; /* rgb */ color: rgb(33, 144, 44); /* oklch */ color: oklch(57.3% 0.168 144.2);
Tailwind
colors: {
custom: {
50: '#70b26a',
500: '#21902c',
950: '#000000',
},
}SCSS
$custom: #21902c; $custom-light: #70b26a; $custom-dark: #000000;
JSON
{
"hex": "#21902c",
"rgb": {
"r": 33,
"g": 144,
"b": 44
},
"hsl": {
"h": 125.946,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.57252,
"c": 0.16842,
"h": 144.2
},
"luminance": 0.20452
}Semantic roles & 50–950 ramp
primary
#21902C
secondary
#BB51B1
accent
#42D6E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A