#21722F#21722F
#21722F is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.128 H 146.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #21722F |
|---|---|
| RGB | rgb(33, 114, 47) |
| HSL | hsl(130, 55%, 29%) |
| HSV | hsv(130, 71%, 45%) |
| CMYK | cmyk(71.1%, 0%, 58.8%, 55.3%) |
| CIE-LAB | lab(42.10, -39.28, 29.83) |
| CIE-LCH | lch(42.10, 49.32, 142.79°) |
| OKLab | oklab(48.77% -0.106 0.071) |
| OKLCH | oklch(48.77% 0.128 146.2) |
| XYZ | xyz(7.1571, 12.5624, 4.7364) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.51
Jungle Green
#048243
ΔE00 6.13
Tree Green
#2A7E19
ΔE00 6.43
Darkgreen
#006400
ΔE00 6.74
Green
#008000
ΔE00 7.83
Pine
#2B5D34
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21722F #722164
analogous
#3C7221 #21722F #217258
triadic
#21722F #2F2172 #722F21
tetradic
#21722F #213C72 #722164 #725821
square
#21722F #213C72 #722164 #725821
split-complementary
#21722F #582172 #72213C
monochromatic
#07180A #13431B #21722F #2FA143 #44C95B
Accessibility & contrast
On white
5.98
#21722F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#21722F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21722F
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21722F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21722F | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746729
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#046F63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #21722f; /* rgb */ color: rgb(33, 114, 47); /* oklch */ color: oklch(48.8% 0.128 146.2);
Tailwind
colors: {
custom: {
50: '#689b69',
500: '#21722f',
950: '#000000',
},
}SCSS
$custom: #21722f; $custom-light: #689b69; $custom-dark: #000000;
JSON
{
"hex": "#21722f",
"rgb": {
"r": 33,
"g": 114,
"b": 47
},
"hsl": {
"h": 130.37,
"s": 55.102,
"l": 28.824
},
"oklch": {
"l": 0.4877,
"c": 0.12761,
"h": 146.2
},
"luminance": 0.12563
}Semantic roles & 50–950 ramp
primary
#21722F
secondary
#A54996
accent
#49C5DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A