#21772C#21772C
#21772C is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.137 H 145.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #21772C |
|---|---|
| RGB | rgb(33, 119, 44) |
| HSL | hsl(128, 57%, 30%) |
| HSV | hsv(128, 72%, 47%) |
| CMYK | cmyk(72.3%, 0%, 63%, 53.3%) |
| CIE-LAB | lab(43.80, -41.60, 33.33) |
| CIE-LCH | lch(43.80, 53.31, 141.30°) |
| OKLab | oklab(50.17% -0.1124 0.0784) |
| OKLCH | oklch(50.17% 0.137 145.1) |
| XYZ | xyz(7.6781, 13.6980, 4.6217) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.27
Tree Green
#2A7E19
ΔE00 4.50
Jungle Green
#048243
ΔE00 5.36
Green
#008000
ΔE00 5.93
Dark Grass Green
#388004
ΔE00 7.20
Darkgreen
#006400
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21772C #77216C
analogous
#417721 #21772C #217757
triadic
#21772C #2C2177 #772C21
tetradic
#21772C #214177 #77216C #775721
square
#21772C #214177 #77216C #775721
split-complementary
#21772C #572177 #772141
monochromatic
#071809 #14471A #21772C #2EA73E #47CC58
Accessibility & contrast
On white
5.62
#21772C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#21772C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21772C
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21772C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21772C | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796C24
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#017467
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #21772c; /* rgb */ color: rgb(33, 119, 44); /* oklch */ color: oklch(50.2% 0.137 145.1);
Tailwind
colors: {
custom: {
50: '#6a9f68',
500: '#21772c',
950: '#000000',
},
}SCSS
$custom: #21772c; $custom-light: #6a9f68; $custom-dark: #000000;
JSON
{
"hex": "#21772c",
"rgb": {
"r": 33,
"g": 119,
"b": 44
},
"hsl": {
"h": 127.674,
"s": 56.579,
"l": 29.804
},
"oklch": {
"l": 0.50166,
"c": 0.13703,
"h": 145.1
},
"luminance": 0.13699
}Semantic roles & 50–950 ramp
primary
#21772C
secondary
#AA4A9E
accent
#48CCE0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A