#21762F#21762F
#21762F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.133 H 145.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #21762F |
|---|---|
| RGB | rgb(33, 118, 47) |
| HSL | hsl(130, 56%, 30%) |
| HSV | hsv(130, 72%, 46%) |
| CMYK | cmyk(72%, 0%, 60.2%, 53.7%) |
| CIE-LAB | lab(43.48, -40.82, 31.47) |
| CIE-LCH | lch(43.48, 51.54, 142.37°) |
| OKLab | oklab(49.92% -0.1102 0.0746) |
| OKLCH | oklch(49.92% 0.133 145.9) |
| XYZ | xyz(7.6182, 13.4846, 4.8901) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.27
Jungle Green
#048243
ΔE00 5.20
Tree Green
#2A7E19
ΔE00 5.24
Green
#008000
ΔE00 6.67
Darkgreen
#006400
ΔE00 7.43
Dark Grass Green
#388004
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21762F #762168
analogous
#3E7621 #21762F #217659
triadic
#21762F #2F2176 #762F21
tetradic
#21762F #213E76 #762168 #765921
square
#21762F #213E76 #762168 #765921
split-complementary
#21762F #592176 #76213E
monochromatic
#07180A #14461C #21762F #2EA642 #46CB5C
Accessibility & contrast
On white
5.68
#21762F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#21762F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21762F
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21762F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21762F | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B28
Deuteranopia (green-blind)
#6E6435
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #21762f; /* rgb */ color: rgb(33, 118, 47); /* oklch */ color: oklch(49.9% 0.133 145.9);
Tailwind
colors: {
custom: {
50: '#699e6a',
500: '#21762f',
950: '#000000',
},
}SCSS
$custom: #21762f; $custom-light: #699e6a; $custom-dark: #000000;
JSON
{
"hex": "#21762f",
"rgb": {
"r": 33,
"g": 118,
"b": 47
},
"hsl": {
"h": 129.882,
"s": 56.291,
"l": 29.608
},
"oklch": {
"l": 0.49918,
"c": 0.13307,
"h": 145.9
},
"luminance": 0.13485
}Semantic roles & 50–950 ramp
primary
#21762F
secondary
#A94A99
accent
#48C7E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A