#21772E#21772E
#21772E is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.135 H 145.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #21772E |
|---|---|
| RGB | rgb(33, 119, 46) |
| HSL | hsl(129, 57%, 30%) |
| HSV | hsv(129, 72%, 47%) |
| CMYK | cmyk(72.3%, 0%, 61.3%, 53.3%) |
| CIE-LAB | lab(43.82, -41.34, 32.36) |
| CIE-LCH | lch(43.82, 52.50, 141.94°) |
| OKLab | oklab(50.19% -0.1116 0.0765) |
| OKLCH | oklch(50.19% 0.135 145.6) |
| XYZ | xyz(7.7166, 13.7134, 4.8245) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.08
Tree Green
#2A7E19
ΔE00 4.81
Jungle Green
#048243
ΔE00 5.12
Green
#008000
ΔE00 6.24
Dark Grass Green
#388004
ΔE00 7.50
Darkgreen
#006400
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21772E #77216A
analogous
#3F7721 #21772E #217759
triadic
#21772E #2E2177 #772E21
tetradic
#21772E #213F77 #77216A #775921
square
#21772E #213F77 #77216A #775921
split-complementary
#21772E #592177 #77213F
monochromatic
#071809 #14471B #21772E #2EA741 #47CC5B
Accessibility & contrast
On white
5.61
#21772E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#21772E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21772E
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21772E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21772E | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796C26
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #21772e; /* rgb */ color: rgb(33, 119, 46); /* oklch */ color: oklch(50.2% 0.135 145.6);
Tailwind
colors: {
custom: {
50: '#699f69',
500: '#21772e',
950: '#000000',
},
}SCSS
$custom: #21772e; $custom-light: #699f69; $custom-dark: #000000;
JSON
{
"hex": "#21772e",
"rgb": {
"r": 33,
"g": 119,
"b": 46
},
"hsl": {
"h": 129.07,
"s": 56.579,
"l": 29.804
},
"oklch": {
"l": 0.50191,
"c": 0.1353,
"h": 145.6
},
"luminance": 0.13714
}Semantic roles & 50–950 ramp
primary
#21772E
secondary
#AA4A9C
accent
#48C9E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A