#21722C#21722C
#21722C is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.130 H 145.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #21722C |
|---|---|
| RGB | rgb(33, 114, 44) |
| HSL | hsl(128, 55%, 29%) |
| HSV | hsv(128, 71%, 45%) |
| CMYK | cmyk(71.1%, 0%, 61.4%, 55.3%) |
| CIE-LAB | lab(42.06, -39.70, 31.32) |
| CIE-LCH | lch(42.06, 50.57, 141.72°) |
| OKLab | oklab(48.73% -0.1073 0.074) |
| OKLCH | oklch(48.73% 0.13 145.4) |
| XYZ | xyz(7.0987, 12.5391, 4.4286) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.58
Tree Green
#2A7E19
ΔE00 6.00
Darkgreen
#006400
ΔE00 6.34
Jungle Green
#048243
ΔE00 6.39
Green
#008000
ΔE00 7.37
Deep Green
#02590F
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21722C #722167
analogous
#3F7221 #21722C #217255
triadic
#21722C #2C2172 #722C21
tetradic
#21722C #213F72 #722167 #725521
square
#21722C #213F72 #722167 #725521
split-complementary
#21722C #552172 #72213F
monochromatic
#071809 #13431A #21722C #2FA13E #44C956
Accessibility & contrast
On white
5.99
#21722C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#21722C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21722C
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21722C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21722C | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746725
Deuteranopia (green-blind)
#6A6132
Tritanopia (blue-blind)
#066F63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #21722c; /* rgb */ color: rgb(33, 114, 44); /* oklch */ color: oklch(48.7% 0.130 145.4);
Tailwind
colors: {
custom: {
50: '#689b67',
500: '#21722c',
950: '#000000',
},
}SCSS
$custom: #21722c; $custom-light: #689b67; $custom-dark: #000000;
JSON
{
"hex": "#21722c",
"rgb": {
"r": 33,
"g": 114,
"b": 44
},
"hsl": {
"h": 128.148,
"s": 55.102,
"l": 28.824
},
"oklch": {
"l": 0.48729,
"c": 0.13033,
"h": 145.4
},
"luminance": 0.1254
}Semantic roles & 50–950 ramp
primary
#21722C
secondary
#A54999
accent
#49CADE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A