#20771F#20771F
#20771F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.147 H 142.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #20771F |
|---|---|
| RGB | rgb(32, 119, 31) |
| HSL | hsl(119, 59%, 29%) |
| HSV | hsv(119, 74%, 47%) |
| CMYK | cmyk(73.1%, 0%, 73.9%, 53.3%) |
| CIE-LAB | lab(43.65, -43.24, 39.08) |
| CIE-LCH | lch(43.65, 58.29, 137.89°) |
| OKLab | oklab(50% -0.1174 0.089) |
| OKLCH | oklch(50% 0.147 142.8) |
| XYZ | xyz(7.4394, 13.5988, 3.5288) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.05
Darkish Green
#287C37
ΔE00 3.89
Green
#008000
ΔE00 4.32
Dark Grass Green
#388004
ΔE00 5.61
Darkgreen
#006400
ΔE00 6.63
Jungle Green
#048243
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20771F #761F77
analogous
#4C771F #20771F #1F774A
triadic
#20771F #1F2077 #771F20
tetradic
#20771F #1F4C77 #761F77 #774A1F
square
#20771F #1F4C77 #761F77 #774A1F
split-complementary
#20771F #4A1F77 #771F4C
monochromatic
#071806 #134612 #20771F #2DA82C #44CE43
Accessibility & contrast
On white
5.65
#20771F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#20771F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20771F
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20771F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20771F | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B11
Deuteranopia (green-blind)
#706428
Tritanopia (blue-blind)
#057366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #20771f; /* rgb */ color: rgb(32, 119, 31); /* oklch */ color: oklch(50.0% 0.147 142.8);
Tailwind
colors: {
custom: {
50: '#6a9f60',
500: '#20771f',
950: '#000000',
},
}SCSS
$custom: #20771f; $custom-light: #6a9f60; $custom-dark: #000000;
JSON
{
"hex": "#20771f",
"rgb": {
"r": 32,
"g": 119,
"b": 31
},
"hsl": {
"h": 119.318,
"s": 58.667,
"l": 29.412
},
"oklch": {
"l": 0.5,
"c": 0.14738,
"h": 142.8
},
"luminance": 0.136
}Semantic roles & 50–950 ramp
primary
#20771F
secondary
#A947AB
accent
#46E2E0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79