#21762E#21762E
#21762E is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.134 H 145.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #21762E |
|---|---|
| RGB | rgb(33, 118, 46) |
| HSL | hsl(129, 56%, 30%) |
| HSV | hsv(129, 72%, 46%) |
| CMYK | cmyk(72%, 0%, 61%, 53.7%) |
| CIE-LAB | lab(43.47, -40.96, 31.96) |
| CIE-LCH | lch(43.47, 51.95, 142.03°) |
| OKLab | oklab(49.91% -0.1106 0.0756) |
| OKLCH | oklch(49.91% 0.134 145.6) |
| XYZ | xyz(7.5983, 13.4766, 4.7851) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.33
Tree Green
#2A7E19
ΔE00 5.08
Jungle Green
#048243
ΔE00 5.31
Green
#008000
ΔE00 6.51
Darkgreen
#006400
ΔE00 7.33
Dark Grass Green
#388004
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21762E #762169
analogous
#3F7621 #21762E #217658
triadic
#21762E #2E2176 #762E21
tetradic
#21762E #213F76 #762169 #765821
square
#21762E #213F76 #762169 #765821
split-complementary
#21762E #582176 #76213F
monochromatic
#071809 #14461B #21762E #2EA641 #46CB5A
Accessibility & contrast
On white
5.68
#21762E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#21762E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21762E
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21762E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21762E | 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)
#786B27
Deuteranopia (green-blind)
#6E6434
Tritanopia (blue-blind)
#017366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #21762e; /* rgb */ color: rgb(33, 118, 46); /* oklch */ color: oklch(49.9% 0.134 145.6);
Tailwind
colors: {
custom: {
50: '#699e69',
500: '#21762e',
950: '#000000',
},
}SCSS
$custom: #21762e; $custom-light: #699e69; $custom-dark: #000000;
JSON
{
"hex": "#21762e",
"rgb": {
"r": 33,
"g": 118,
"b": 46
},
"hsl": {
"h": 129.176,
"s": 56.291,
"l": 29.608
},
"oklch": {
"l": 0.49905,
"c": 0.13396,
"h": 145.6
},
"luminance": 0.13477
}Semantic roles & 50–950 ramp
primary
#21762E
secondary
#A94A9B
accent
#48C8E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A