#21722E#21722E
#21722E is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.129 H 145.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #21722E |
|---|---|
| RGB | rgb(33, 114, 46) |
| HSL | hsl(130, 55%, 29%) |
| HSV | hsv(130, 71%, 45%) |
| CMYK | cmyk(71.1%, 0%, 59.6%, 55.3%) |
| CIE-LAB | lab(42.08, -39.42, 30.33) |
| CIE-LCH | lch(42.08, 49.74, 142.42°) |
| OKLab | oklab(48.76% -0.1064 0.0721) |
| OKLCH | oklch(48.76% 0.129 145.9) |
| XYZ | xyz(7.1372, 12.5545, 4.6314) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.52
Jungle Green
#048243
ΔE00 6.21
Tree Green
#2A7E19
ΔE00 6.28
Darkgreen
#006400
ΔE00 6.60
Green
#008000
ΔE00 7.67
Forest Green
#2D5A27
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21722E #722165
analogous
#3D7221 #21722E #217257
triadic
#21722E #2E2172 #722E21
tetradic
#21722E #213D72 #722165 #725721
square
#21722E #213D72 #722165 #725721
split-complementary
#21722E #572172 #72213D
monochromatic
#07180A #13431B #21722E #2FA141 #44C95A
Accessibility & contrast
On white
5.98
#21722E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#21722E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21722E
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21722E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21722E | 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)
#746727
Deuteranopia (green-blind)
#6A6133
Tritanopia (blue-blind)
#046F63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #21722e; /* rgb */ color: rgb(33, 114, 46); /* oklch */ color: oklch(48.8% 0.129 145.9);
Tailwind
colors: {
custom: {
50: '#689b69',
500: '#21722e',
950: '#000000',
},
}SCSS
$custom: #21722e; $custom-light: #689b69; $custom-dark: #000000;
JSON
{
"hex": "#21722e",
"rgb": {
"r": 33,
"g": 114,
"b": 46
},
"hsl": {
"h": 129.63,
"s": 55.102,
"l": 28.824
},
"oklch": {
"l": 0.48756,
"c": 0.12853,
"h": 145.9
},
"luminance": 0.12555
}Semantic roles & 50–950 ramp
primary
#21722E
secondary
#A54997
accent
#49C7DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A