#20681B#20681B
#20681B is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.131 H 142.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #20681B |
|---|---|
| RGB | rgb(32, 104, 27) |
| HSL | hsl(116, 59%, 26%) |
| HSV | hsv(116, 74%, 41%) |
| CMYK | cmyk(69.2%, 0%, 74%, 59.2%) |
| CIE-LAB | lab(38.35, -38.07, 35.25) |
| CIE-LCH | lch(38.35, 51.88, 137.20°) |
| OKLab | oklab(45.6% -0.1036 0.0805) |
| OKLCH | oklch(45.6% 0.131 142.2) |
| XYZ | xyz(5.7435, 10.2863, 2.7195) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.05
Deep Green
#02590F
ΔE00 5.11
Forest
#0B5509
ΔE00 6.16
Forest Green
#2D5A27
ΔE00 6.32
Darkish Green
#287C37
ΔE00 7.29
Pine
#2B5D34
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20681B #631B68
analogous
#46681B #20681B #1B683C
triadic
#20681B #1B2068 #681B20
tetradic
#20681B #1B4668 #631B68 #683C1B
square
#20681B #1B4668 #631B68 #683C1B
split-complementary
#20681B #3C1B68 #681B46
monochromatic
#071806 #11370E #20681B #2F9928 #3EC934
Accessibility & contrast
On white
6.87
#20681B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#20681B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20681B
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20681B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20681B | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E0F
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#116559
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #20681b; /* rgb */ color: rgb(32, 104, 27); /* oklch */ color: oklch(45.6% 0.131 142.2);
Tailwind
colors: {
custom: {
50: '#66945c',
500: '#20681b',
950: '#000000',
},
}SCSS
$custom: #20681b; $custom-light: #66945c; $custom-dark: #000000;
JSON
{
"hex": "#20681b",
"rgb": {
"r": 32,
"g": 104,
"b": 27
},
"hsl": {
"h": 116.104,
"s": 58.779,
"l": 25.686
},
"oklch": {
"l": 0.45597,
"c": 0.13121,
"h": 142.2
},
"luminance": 0.10287
}Semantic roles & 50–950 ramp
primary
#20681B
secondary
#97429D
accent
#46E2D8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79