#20751C#20751C
#20751C is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.147 H 142.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #20751C |
|---|---|
| RGB | rgb(32, 117, 28) |
| HSL | hsl(117, 61%, 28%) |
| HSV | hsv(117, 76%, 46%) |
| CMYK | cmyk(72.6%, 0%, 76.1%, 54.1%) |
| CIE-LAB | lab(42.93, -42.79, 39.56) |
| CIE-LCH | lch(42.93, 58.27, 137.25°) |
| OKLab | oklab(49.4% -0.1164 0.0896) |
| OKLCH | oklch(49.4% 0.147 142.4) |
| XYZ | xyz(7.1661, 13.1127, 3.2517) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.51
Darkish Green
#287C37
ΔE00 4.44
Green
#008000
ΔE00 4.68
Dark Grass Green
#388004
ΔE00 5.86
Darkgreen
#006400
ΔE00 5.94
Jungle Green
#048243
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20751C #711C75
analogous
#4C751C #20751C #1C7544
triadic
#20751C #1C2075 #751C20
tetradic
#20751C #1C4C75 #711C75 #75441C
square
#20751C #1C4C75 #711C75 #75441C
split-complementary
#20751C #441C75 #751C4C
monochromatic
#071906 #124410 #20751C #2EA628 #42D03B
Accessibility & contrast
On white
5.80
#20751C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#20751C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #20751C
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20751C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20751C | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78690C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#087164
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #20751c; /* rgb */ color: rgb(32, 117, 28); /* oklch */ color: oklch(49.4% 0.147 142.4);
Tailwind
colors: {
custom: {
50: '#6a9e5e',
500: '#20751c',
950: '#000000',
},
}SCSS
$custom: #20751c; $custom-light: #6a9e5e; $custom-dark: #000000;
JSON
{
"hex": "#20751c",
"rgb": {
"r": 32,
"g": 117,
"b": 28
},
"hsl": {
"h": 117.303,
"s": 61.379,
"l": 28.431
},
"oklch": {
"l": 0.49396,
"c": 0.14689,
"h": 142.4
},
"luminance": 0.13113
}Semantic roles & 50–950 ramp
primary
#20751C
secondary
#A544A9
accent
#43E4DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79