#21701E#21701E
#21701E is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.139 H 142.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #21701E |
|---|---|
| RGB | rgb(33, 112, 30) |
| HSL | hsl(118, 58%, 28%) |
| HSV | hsv(118, 73%, 44%) |
| CMYK | cmyk(70.5%, 0%, 73.2%, 56.1%) |
| CIE-LAB | lab(41.22, -40.57, 36.98) |
| CIE-LCH | lch(41.22, 54.89, 137.65°) |
| OKLab | oklab(47.99% -0.1103 0.0845) |
| OKLCH | oklch(47.99% 0.139 142.6) |
| XYZ | xyz(6.6553, 12.0047, 3.1944) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.65
Darkish Green
#287C37
ΔE00 5.11
Tree Green
#2A7E19
ΔE00 5.28
Green
#008000
ΔE00 6.45
Dark Grass Green
#388004
ΔE00 7.44
Deep Green
#02590F
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21701E #6D1E70
analogous
#4A701E #21701E #1E7044
triadic
#21701E #1E2170 #701E21
tetradic
#21701E #1E4A70 #6D1E70 #70441E
square
#21701E #1E4A70 #6D1E70 #70441E
split-complementary
#21701E #441E70 #701E4A
monochromatic
#071806 #134011 #21701E #2FA02B #42CB3D
Accessibility & contrast
On white
6.17
#21701E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#21701E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21701E
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21701E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21701E | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736511
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#0E6D60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #21701e; /* rgb */ color: rgb(33, 112, 30); /* oklch */ color: oklch(48.0% 0.139 142.6);
Tailwind
colors: {
custom: {
50: '#699a5f',
500: '#21701e',
950: '#000000',
},
}SCSS
$custom: #21701e; $custom-light: #699a5f; $custom-dark: #000000;
JSON
{
"hex": "#21701e",
"rgb": {
"r": 33,
"g": 112,
"b": 30
},
"hsl": {
"h": 117.805,
"s": 57.746,
"l": 27.843
},
"oklch": {
"l": 0.47992,
"c": 0.13895,
"h": 142.6
},
"luminance": 0.12005
}Semantic roles & 50–950 ramp
primary
#21701E
secondary
#A146A4
accent
#47E1DB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79