#21732E#21732E
#21732E is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.130 H 145.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #21732E |
|---|---|
| RGB | rgb(33, 115, 46) |
| HSL | hsl(130, 55%, 29%) |
| HSV | hsv(130, 71%, 45%) |
| CMYK | cmyk(71.3%, 0%, 60%, 54.9%) |
| CIE-LAB | lab(42.43, -39.81, 30.74) |
| CIE-LCH | lch(42.43, 50.29, 142.32°) |
| OKLab | oklab(49.04% -0.1075 0.0729) |
| OKLCH | oklch(49.04% 0.13 145.8) |
| XYZ | xyz(7.2506, 12.7813, 4.6692) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.20
Jungle Green
#048243
ΔE00 5.97
Tree Green
#2A7E19
ΔE00 5.97
Darkgreen
#006400
ΔE00 6.76
Green
#008000
ΔE00 7.37
Dark Grass Green
#388004
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21732E #732166
analogous
#3D7321 #21732E #217357
triadic
#21732E #2E2173 #732E21
tetradic
#21732E #213D73 #732166 #735721
square
#21732E #213D73 #732166 #735721
split-complementary
#21732E #572173 #73213D
monochromatic
#07180A #13431B #21732E #2FA341 #45CA5A
Accessibility & contrast
On white
5.90
#21732E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#21732E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21732E
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21732E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21732E | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756827
Deuteranopia (green-blind)
#6B6233
Tritanopia (blue-blind)
#037064
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #21732e; /* rgb */ color: rgb(33, 115, 46); /* oklch */ color: oklch(49.0% 0.130 145.8);
Tailwind
colors: {
custom: {
50: '#689c69',
500: '#21732e',
950: '#000000',
},
}SCSS
$custom: #21732e; $custom-light: #689c69; $custom-dark: #000000;
JSON
{
"hex": "#21732e",
"rgb": {
"r": 33,
"g": 115,
"b": 46
},
"hsl": {
"h": 129.512,
"s": 55.405,
"l": 29.02
},
"oklch": {
"l": 0.49044,
"c": 0.1299,
"h": 145.8
},
"luminance": 0.12782
}Semantic roles & 50–950 ramp
primary
#21732E
secondary
#A64998
accent
#49C7DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A