#20742F#20742F
#20742F is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.131 H 146.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #20742F |
|---|---|
| RGB | rgb(32, 116, 47) |
| HSL | hsl(131, 57%, 29%) |
| HSV | hsv(131, 72%, 45%) |
| CMYK | cmyk(72.4%, 0%, 59.5%, 54.5%) |
| CIE-LAB | lab(42.77, -40.25, 30.62) |
| CIE-LCH | lch(42.77, 50.57, 142.74°) |
| OKLab | oklab(49.32% -0.1086 0.0728) |
| OKLCH | oklch(49.32% 0.131 146.2) |
| XYZ | xyz(7.3536, 13.0023, 4.8109) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.88
Jungle Green
#048243
ΔE00 5.61
Tree Green
#2A7E19
ΔE00 5.86
Darkgreen
#006400
ΔE00 7.05
Green
#008000
ΔE00 7.24
Dark Grass Green
#388004
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20742F #742065
analogous
#3B7420 #20742F #207459
triadic
#20742F #2F2074 #742F20
tetradic
#20742F #203B74 #742065 #745920
square
#20742F #203B74 #742065 #745920
split-complementary
#20742F #592074 #74203B
monochromatic
#07180A #13441C #20742F #2DA442 #43CB5B
Accessibility & contrast
On white
5.83
#20742F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#20742F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20742F
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20742F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20742F | 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)
#766928
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #20742f; /* rgb */ color: rgb(32, 116, 47); /* oklch */ color: oklch(49.3% 0.131 146.2);
Tailwind
colors: {
custom: {
50: '#689d6a',
500: '#20742f',
950: '#000000',
},
}SCSS
$custom: #20742f; $custom-light: #689d6a; $custom-dark: #000000;
JSON
{
"hex": "#20742f",
"rgb": {
"r": 32,
"g": 116,
"b": 47
},
"hsl": {
"h": 130.714,
"s": 56.757,
"l": 29.02
},
"oklch": {
"l": 0.49318,
"c": 0.13072,
"h": 146.2
},
"luminance": 0.13003
}Semantic roles & 50–950 ramp
primary
#20742F
secondary
#A84897
accent
#48C5E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A