#21711F#21711F
#21711F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.140 H 142.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #21711F |
|---|---|
| RGB | rgb(33, 113, 31) |
| HSL | hsl(119, 57%, 28%) |
| HSV | hsv(119, 73%, 44%) |
| CMYK | cmyk(70.8%, 0%, 72.6%, 55.7%) |
| CIE-LAB | lab(41.58, -40.84, 36.92) |
| CIE-LCH | lch(41.58, 55.06, 137.88°) |
| OKLab | oklab(48.29% -0.111 0.0845) |
| OKLCH | oklch(48.29% 0.14 142.7) |
| XYZ | xyz(6.7793, 12.2318, 3.2998) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.80
Darkgreen
#006400
ΔE00 4.96
Tree Green
#2A7E19
ΔE00 5.00
Green
#008000
ΔE00 6.20
Dark Grass Green
#388004
ΔE00 7.23
Jungle Green
#048243
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21711F #6F1F71
analogous
#4A711F #21711F #1F7146
triadic
#21711F #1F2171 #711F21
tetradic
#21711F #1F4A71 #6F1F71 #71461F
square
#21711F #1F4A71 #6F1F71 #71461F
split-complementary
#21711F #461F71 #711F4A
monochromatic
#071807 #134112 #21711F #2FA12C #43CB40
Accessibility & contrast
On white
6.09
#21711F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#21711F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21711F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21711F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21711F | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#0D6E61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #21711f; /* rgb */ color: rgb(33, 113, 31); /* oklch */ color: oklch(48.3% 0.140 142.7);
Tailwind
colors: {
custom: {
50: '#699b60',
500: '#21711f',
950: '#000000',
},
}SCSS
$custom: #21711f; $custom-light: #699b60; $custom-dark: #000000;
JSON
{
"hex": "#21711f",
"rgb": {
"r": 33,
"g": 113,
"b": 31
},
"hsl": {
"h": 118.537,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48291,
"c": 0.13951,
"h": 142.7
},
"luminance": 0.12233
}Semantic roles & 50–950 ramp
primary
#21711F
secondary
#A347A5
accent
#48E0DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79