#20711B#20711B
#20711B is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.143 H 142.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #20711B |
|---|---|
| RGB | rgb(32, 113, 27) |
| HSL | hsl(117, 61%, 27%) |
| HSV | hsv(117, 76%, 44%) |
| CMYK | cmyk(71.7%, 0%, 76.1%, 55.7%) |
| CIE-LAB | lab(41.53, -41.43, 38.52) |
| CIE-LCH | lch(41.53, 56.57, 137.08°) |
| OKLab | oklab(48.23% -0.1128 0.0873) |
| OKLCH | oklch(48.23% 0.143 142.2) |
| XYZ | xyz(6.6982, 12.1958, 3.0377) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.75
Tree Green
#2A7E19
ΔE00 4.81
Darkish Green
#287C37
ΔE00 5.17
Green
#008000
ΔE00 5.90
Dark Grass Green
#388004
ΔE00 6.93
Deep Green
#02590F
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20711B #6C1B71
analogous
#4B711B #20711B #1B7141
triadic
#20711B #1B2071 #711B20
tetradic
#20711B #1B4B71 #6C1B71 #71411B
square
#20711B #1B4B71 #6C1B71 #71411B
split-complementary
#20711B #411B71 #711B4B
monochromatic
#071906 #12400F #20711B #2EA227 #40CF37
Accessibility & contrast
On white
6.11
#20711B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#20711B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20711B
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20711B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20711B | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74660C
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #20711b; /* rgb */ color: rgb(32, 113, 27); /* oklch */ color: oklch(48.2% 0.143 142.2);
Tailwind
colors: {
custom: {
50: '#699b5d',
500: '#20711b',
950: '#000000',
},
}SCSS
$custom: #20711b; $custom-light: #699b5d; $custom-dark: #000000;
JSON
{
"hex": "#20711b",
"rgb": {
"r": 32,
"g": 113,
"b": 27
},
"hsl": {
"h": 116.512,
"s": 61.429,
"l": 27.451
},
"oklch": {
"l": 0.48227,
"c": 0.14261,
"h": 142.2
},
"luminance": 0.12196
}Semantic roles & 50–950 ramp
primary
#20711B
secondary
#A042A6
accent
#43E5DB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79