#21712E#21712E
#21712E is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.127 H 146.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #21712E |
|---|---|
| RGB | rgb(33, 113, 46) |
| HSL | hsl(130, 55%, 29%) |
| HSV | hsv(130, 71%, 44%) |
| CMYK | cmyk(70.8%, 0%, 59.3%, 55.7%) |
| CIE-LAB | lab(41.74, -39.03, 29.92) |
| CIE-LCH | lch(41.74, 49.18, 142.53°) |
| OKLab | oklab(48.47% -0.1054 0.0712) |
| OKLCH | oklch(48.47% 0.127 146) |
| XYZ | xyz(7.0250, 12.3301, 4.5940) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.84
Darkgreen
#006400
ΔE00 6.46
Jungle Green
#048243
ΔE00 6.47
Tree Green
#2A7E19
ΔE00 6.60
Green
#008000
ΔE00 7.98
Forest Green
#2D5A27
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21712E #712164
analogous
#3C7121 #21712E #217156
triadic
#21712E #2E2171 #712E21
tetradic
#21712E #213C71 #712164 #715621
square
#21712E #213C71 #712164 #715621
split-complementary
#21712E #562171 #71213C
monochromatic
#07180A #13421B #21712E #2FA041 #44C85A
Accessibility & contrast
On white
6.06
#21712E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#21712E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21712E
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21712E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21712E | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736727
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#056E62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #21712e; /* rgb */ color: rgb(33, 113, 46); /* oklch */ color: oklch(48.5% 0.127 146.0);
Tailwind
colors: {
custom: {
50: '#689b69',
500: '#21712e',
950: '#000000',
},
}SCSS
$custom: #21712e; $custom-light: #689b69; $custom-dark: #000000;
JSON
{
"hex": "#21712e",
"rgb": {
"r": 33,
"g": 113,
"b": 46
},
"hsl": {
"h": 129.75,
"s": 54.795,
"l": 28.627
},
"oklch": {
"l": 0.48468,
"c": 0.12716,
"h": 146
},
"luminance": 0.12331
}Semantic roles & 50–950 ramp
primary
#21712E
secondary
#A54996
accent
#4AC6DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A