#20711C#20711C
#20711C is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.142 H 142.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #20711C |
|---|---|
| RGB | rgb(32, 113, 28) |
| HSL | hsl(117, 60%, 28%) |
| HSV | hsv(117, 75%, 44%) |
| CMYK | cmyk(71.7%, 0%, 75.2%, 55.7%) |
| CIE-LAB | lab(41.53, -41.34, 38.13) |
| CIE-LCH | lch(41.53, 56.24, 137.32°) |
| OKLab | oklab(48.24% -0.1125 0.0866) |
| OKLCH | oklch(48.24% 0.142 142.4) |
| XYZ | xyz(6.7100, 12.2005, 3.0997) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.79
Tree Green
#2A7E19
ΔE00 4.85
Darkish Green
#287C37
ΔE00 5.08
Green
#008000
ΔE00 5.97
Dark Grass Green
#388004
ΔE00 7.01
Deep Green
#02590F
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20711C #6D1C71
analogous
#4B711C #20711C #1C7142
triadic
#20711C #1C2071 #711C20
tetradic
#20711C #1C4B71 #6D1C71 #71421C
square
#20711C #1C4B71 #6D1C71 #71421C
split-complementary
#20711C #421C71 #711C4B
monochromatic
#071906 #124010 #20711C #2EA228 #40CE39
Accessibility & contrast
On white
6.10
#20711C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#20711C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20711C
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20711C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20711C | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74660E
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #20711c; /* rgb */ color: rgb(32, 113, 28); /* oklch */ color: oklch(48.2% 0.142 142.4);
Tailwind
colors: {
custom: {
50: '#699b5e',
500: '#20711c',
950: '#000000',
},
}SCSS
$custom: #20711c; $custom-light: #699b5e; $custom-dark: #000000;
JSON
{
"hex": "#20711c",
"rgb": {
"r": 32,
"g": 113,
"b": 28
},
"hsl": {
"h": 117.176,
"s": 60.284,
"l": 27.647
},
"oklch": {
"l": 0.48236,
"c": 0.14195,
"h": 142.4
},
"luminance": 0.12201
}Semantic roles & 50–950 ramp
primary
#20711C
secondary
#A143A6
accent
#44E3DC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79