#21752E#21752E
#21752E is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.133 H 145.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #21752E |
|---|---|
| RGB | rgb(33, 117, 46) |
| HSL | hsl(129, 56%, 29%) |
| HSV | hsv(129, 72%, 46%) |
| CMYK | cmyk(71.8%, 0%, 60.7%, 54.1%) |
| CIE-LAB | lab(43.13, -40.58, 31.56) |
| CIE-LCH | lch(43.13, 51.40, 142.13°) |
| OKLab | oklab(49.62% -0.1096 0.0747) |
| OKLCH | oklch(49.62% 0.133 145.7) |
| XYZ | xyz(7.4811, 13.2424, 4.7460) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.60
Tree Green
#2A7E19
ΔE00 5.37
Jungle Green
#048243
ΔE00 5.52
Green
#008000
ΔE00 6.79
Darkgreen
#006400
ΔE00 7.12
Dark Grass Green
#388004
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21752E #752168
analogous
#3E7521 #21752E #217558
triadic
#21752E #2E2175 #752E21
tetradic
#21752E #213E75 #752168 #755821
square
#21752E #213E75 #752168 #755821
split-complementary
#21752E #582175 #75213E
monochromatic
#071809 #14451B #21752E #2EA541 #46CB5A
Accessibility & contrast
On white
5.76
#21752E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#21752E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21752E
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21752E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21752E | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776A27
Deuteranopia (green-blind)
#6D6334
Tritanopia (blue-blind)
#027265
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #21752e; /* rgb */ color: rgb(33, 117, 46); /* oklch */ color: oklch(49.6% 0.133 145.7);
Tailwind
colors: {
custom: {
50: '#699e69',
500: '#21752e',
950: '#000000',
},
}SCSS
$custom: #21752e; $custom-light: #699e69; $custom-dark: #000000;
JSON
{
"hex": "#21752e",
"rgb": {
"r": 33,
"g": 117,
"b": 46
},
"hsl": {
"h": 129.286,
"s": 56,
"l": 29.412
},
"oklch": {
"l": 0.49618,
"c": 0.13261,
"h": 145.7
},
"luminance": 0.13243
}Semantic roles & 50–950 ramp
primary
#21752E
secondary
#A84A9A
accent
#49C8DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A