#20742E#20742E
#20742E is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.132 H 145.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #20742E |
|---|---|
| RGB | rgb(32, 116, 46) |
| HSL | hsl(130, 57%, 29%) |
| HSV | hsv(130, 72%, 45%) |
| CMYK | cmyk(72.4%, 0%, 60.3%, 54.5%) |
| CIE-LAB | lab(42.75, -40.39, 31.11) |
| CIE-LCH | lch(42.75, 50.99, 142.39°) |
| OKLab | oklab(49.3% -0.109 0.0738) |
| OKLCH | oklch(49.3% 0.132 145.9) |
| XYZ | xyz(7.3337, 12.9943, 4.7059) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.91
Tree Green
#2A7E19
ΔE00 5.70
Jungle Green
#048243
ΔE00 5.71
Darkgreen
#006400
ΔE00 6.93
Green
#008000
ΔE00 7.09
Dark Grass Green
#388004
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20742E #742066
analogous
#3C7420 #20742E #207458
triadic
#20742E #2E2074 #742E20
tetradic
#20742E #203C74 #742066 #745820
square
#20742E #203C74 #742066 #745820
split-complementary
#20742E #582074 #74203C
monochromatic
#07180A #13441B #20742E #2DA441 #43CB5A
Accessibility & contrast
On white
5.83
#20742E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#20742E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20742E
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20742E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20742E | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #20742e; /* rgb */ color: rgb(32, 116, 46); /* oklch */ color: oklch(49.3% 0.132 145.9);
Tailwind
colors: {
custom: {
50: '#689d69',
500: '#20742e',
950: '#000000',
},
}SCSS
$custom: #20742e; $custom-light: #689d69; $custom-dark: #000000;
JSON
{
"hex": "#20742e",
"rgb": {
"r": 32,
"g": 116,
"b": 46
},
"hsl": {
"h": 130,
"s": 56.757,
"l": 29.02
},
"oklch": {
"l": 0.49304,
"c": 0.13162,
"h": 145.9
},
"luminance": 0.12995
}Semantic roles & 50–950 ramp
primary
#20742E
secondary
#A84898
accent
#48C7E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A