#20661F#20661F
#20661F is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.1% C 0.126 H 142.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #20661F |
|---|---|
| RGB | rgb(32, 102, 31) |
| HSL | hsl(119, 53%, 26%) |
| HSV | hsv(119, 70%, 40%) |
| CMYK | cmyk(68.6%, 0%, 69.6%, 60%) |
| CIE-LAB | lab(37.68, -36.88, 32.73) |
| CIE-LCH | lch(37.68, 49.30, 138.41°) |
| OKLab | oklab(45.05% -0.1002 0.0757) |
| OKLCH | oklch(45.05% 0.126 142.9) |
| XYZ | xyz(5.5940, 9.9082, 2.9137) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.57
Deep Green
#02590F
ΔE00 4.52
Forest Green
#2D5A27
ΔE00 5.35
Forest
#0B5509
ΔE00 5.62
Pine
#2B5D34
ΔE00 6.77
Darkish Green
#287C37
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20661F #651F66
analogous
#43661F #20661F #1F6641
triadic
#20661F #1F2066 #661F20
tetradic
#20661F #1F4366 #651F66 #66411F
square
#20661F #1F4366 #651F66 #66411F
split-complementary
#20661F #411F66 #661F43
monochromatic
#071707 #113711 #20661F #2F952D #3EC43C
Accessibility & contrast
On white
7.04
#20661F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#20661F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20661F
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20661F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20661F | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C16
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#116357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #20661f; /* rgb */ color: rgb(32, 102, 31); /* oklch */ color: oklch(45.1% 0.126 142.9);
Tailwind
colors: {
custom: {
50: '#66925e',
500: '#20661f',
950: '#000000',
},
}SCSS
$custom: #20661f; $custom-light: #66925e; $custom-dark: #000000;
JSON
{
"hex": "#20661f",
"rgb": {
"r": 32,
"g": 102,
"b": 31
},
"hsl": {
"h": 119.155,
"s": 53.383,
"l": 26.078
},
"oklch": {
"l": 0.45051,
"c": 0.12556,
"h": 142.9
},
"luminance": 0.09909
}Semantic roles & 50–950 ramp
primary
#20661F
secondary
#99469A
accent
#4BDDDB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79