#21742E#21742E
#21742E is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.131 H 145.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #21742E |
|---|---|
| RGB | rgb(33, 116, 46) |
| HSL | hsl(129, 56%, 29%) |
| HSV | hsv(129, 72%, 45%) |
| CMYK | cmyk(71.6%, 0%, 60.3%, 54.5%) |
| CIE-LAB | lab(42.78, -40.19, 31.15) |
| CIE-LCH | lch(42.78, 50.85, 142.22°) |
| OKLab | oklab(49.33% -0.1085 0.0738) |
| OKLCH | oklch(49.33% 0.131 145.8) |
| XYZ | xyz(7.3652, 13.0106, 4.7074) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.90
Tree Green
#2A7E19
ΔE00 5.67
Jungle Green
#048243
ΔE00 5.74
Darkgreen
#006400
ΔE00 6.93
Green
#008000
ΔE00 7.08
Dark Grass Green
#388004
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21742E #742167
analogous
#3E7421 #21742E #217458
triadic
#21742E #2E2174 #742E21
tetradic
#21742E #213E74 #742167 #745821
square
#21742E #213E74 #742167 #745821
split-complementary
#21742E #582174 #74213E
monochromatic
#071809 #13441B #21742E #2FA441 #45CA5A
Accessibility & contrast
On white
5.83
#21742E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#21742E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21742E
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21742E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21742E | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#037165
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #21742e; /* rgb */ color: rgb(33, 116, 46); /* oklch */ color: oklch(49.3% 0.131 145.8);
Tailwind
colors: {
custom: {
50: '#699d69',
500: '#21742e',
950: '#000000',
},
}SCSS
$custom: #21742e; $custom-light: #699d69; $custom-dark: #000000;
JSON
{
"hex": "#21742e",
"rgb": {
"r": 33,
"g": 116,
"b": 46
},
"hsl": {
"h": 129.398,
"s": 55.705,
"l": 29.216
},
"oklch": {
"l": 0.49331,
"c": 0.13126,
"h": 145.8
},
"luminance": 0.13011
}Semantic roles & 50–950 ramp
primary
#21742E
secondary
#A74999
accent
#49C7DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A