#20542E#20542E
#20542E is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.0% C 0.084 H 149.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #20542E |
|---|---|
| RGB | rgb(32, 84, 46) |
| HSL | hsl(136, 45%, 23%) |
| HSV | hsv(136, 62%, 33%) |
| CMYK | cmyk(61.9%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(31.45, -26.94, 17.14) |
| CIE-LCH | lch(31.45, 31.93, 147.53°) |
| OKLab | oklab(39.98% -0.0729 0.0424) |
| OKLCH | oklch(39.98% 0.084 149.8) |
| XYZ | xyz(4.2588, 6.8446, 3.6809) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.10
Hunter Green
#355E3B
ΔE00 4.28
Pine Green
#0A481E
ΔE00 4.32
Forest Green
#2D5A27
ΔE00 4.35
Spruce
#0A5F38
ΔE00 4.42
Evergreen
#05472A
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20542E #542046
analogous
#2C5420 #20542E #205448
triadic
#20542E #2E2054 #542E20
tetradic
#20542E #202C54 #542046 #544820
square
#20542E #202C54 #542046 #544820
split-complementary
#20542E #482054 #54202C
monochromatic
#08160C #0F2816 #20542E #318046 #42AD5F
Accessibility & contrast
On white
8.86
#20542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#20542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20542E
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20542E | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#13524B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #20542e; /* rgb */ color: rgb(32, 84, 46); /* oklch */ color: oklch(40.0% 0.084 149.8);
Tailwind
colors: {
custom: {
50: '#618467',
500: '#20542e',
950: '#000000',
},
}SCSS
$custom: #20542e; $custom-light: #618467; $custom-dark: #000000;
JSON
{
"hex": "#20542e",
"rgb": {
"r": 32,
"g": 84,
"b": 46
},
"hsl": {
"h": 136.154,
"s": 44.828,
"l": 22.745
},
"oklch": {
"l": 0.39983,
"c": 0.08435,
"h": 149.8
},
"luminance": 0.06845
}Semantic roles & 50–950 ramp
primary
#20542E
secondary
#894777
accent
#53B2D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A