#21732F#21732F
#21732F is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.129 H 146.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #21732F |
|---|---|
| RGB | rgb(33, 115, 47) |
| HSL | hsl(130, 55%, 29%) |
| HSV | hsv(130, 71%, 45%) |
| CMYK | cmyk(71.3%, 0%, 59.1%, 54.9%) |
| CIE-LAB | lab(42.44, -39.67, 30.24) |
| CIE-LCH | lch(42.44, 49.88, 142.68°) |
| OKLab | oklab(49.06% -0.1071 0.0719) |
| OKLCH | oklch(49.06% 0.129 146.1) |
| XYZ | xyz(7.2705, 12.7893, 4.7742) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.18
Jungle Green
#048243
ΔE00 5.88
Tree Green
#2A7E19
ΔE00 6.12
Darkgreen
#006400
ΔE00 6.89
Green
#008000
ΔE00 7.53
Dark Grass Green
#388004
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21732F #732165
analogous
#3C7321 #21732F #217358
triadic
#21732F #2F2173 #732F21
tetradic
#21732F #213C73 #732165 #735821
square
#21732F #213C73 #732165 #735821
split-complementary
#21732F #582173 #73213C
monochromatic
#07180A #13431C #21732F #2FA342 #45CA5B
Accessibility & contrast
On white
5.90
#21732F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#21732F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21732F
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21732F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21732F | 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)
#756828
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#037064
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #21732f; /* rgb */ color: rgb(33, 115, 47); /* oklch */ color: oklch(49.1% 0.129 146.1);
Tailwind
colors: {
custom: {
50: '#689c6a',
500: '#21732f',
950: '#000000',
},
}SCSS
$custom: #21732f; $custom-light: #689c6a; $custom-dark: #000000;
JSON
{
"hex": "#21732f",
"rgb": {
"r": 33,
"g": 115,
"b": 47
},
"hsl": {
"h": 130.244,
"s": 55.405,
"l": 29.02
},
"oklch": {
"l": 0.49058,
"c": 0.12899,
"h": 146.1
},
"luminance": 0.1279
}Semantic roles & 50–950 ramp
primary
#21732F
secondary
#A64997
accent
#49C5DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A