#20701B#20701B
#20701B is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.141 H 142.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #20701B |
|---|---|
| RGB | rgb(32, 112, 27) |
| HSL | hsl(116, 61%, 27%) |
| HSV | hsv(116, 76%, 44%) |
| CMYK | cmyk(71.4%, 0%, 75.9%, 56.1%) |
| CIE-LAB | lab(41.17, -41.06, 38.17) |
| CIE-LCH | lch(41.17, 56.06, 137.09°) |
| OKLab | oklab(47.94% -0.1118 0.0866) |
| OKLCH | oklch(47.94% 0.141 142.2) |
| XYZ | xyz(6.5873, 11.9739, 3.0007) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.48
Tree Green
#2A7E19
ΔE00 5.14
Darkish Green
#287C37
ΔE00 5.37
Green
#008000
ΔE00 6.23
Dark Grass Green
#388004
ΔE00 7.23
Deep Green
#02590F
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20701B #6B1B70
analogous
#4A701B #20701B #1B7041
triadic
#20701B #1B2070 #701B20
tetradic
#20701B #1B4A70 #6B1B70 #70411B
square
#20701B #1B4A70 #6B1B70 #70411B
split-complementary
#20701B #411B70 #701B4A
monochromatic
#071906 #123F0F #20701B #2EA127 #40CF37
Accessibility & contrast
On white
6.19
#20701B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#20701B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20701B
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20701B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20701B | 1.00 | 6.19 | 3.40 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#695F24
Tritanopia (blue-blind)
#0C6C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #20701b; /* rgb */ color: rgb(32, 112, 27); /* oklch */ color: oklch(47.9% 0.141 142.2);
Tailwind
colors: {
custom: {
50: '#689a5d',
500: '#20701b',
950: '#000000',
},
}SCSS
$custom: #20701b; $custom-light: #689a5d; $custom-dark: #000000;
JSON
{
"hex": "#20701b",
"rgb": {
"r": 32,
"g": 112,
"b": 27
},
"hsl": {
"h": 116.471,
"s": 61.151,
"l": 27.255
},
"oklch": {
"l": 0.47936,
"c": 0.14136,
"h": 142.2
},
"luminance": 0.11975
}Semantic roles & 50–950 ramp
primary
#20701B
secondary
#9F42A5
accent
#44E4DB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79