#20512E#20512E
#20512E is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.079 H 150.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #20512E |
|---|---|
| RGB | rgb(32, 81, 46) |
| HSL | hsl(137, 43%, 22%) |
| HSV | hsv(137, 60%, 32%) |
| CMYK | cmyk(60.5%, 0%, 43.2%, 68.2%) |
| CIE-LAB | lab(30.37, -25.52, 15.73) |
| CIE-LCH | lch(30.37, 29.98, 148.35°) |
| OKLab | oklab(39.1% -0.0691 0.0391) |
| OKLCH | oklch(39.1% 0.079 150.5) |
| XYZ | xyz(4.0309, 6.3888, 3.6050) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.99
Pine
#2B5D34
ΔE00 4.11
Evergreen
#05472A
ΔE00 4.23
Hunter Green
#355E3B
ΔE00 4.84
Spruce
#0A5F38
ΔE00 5.26
Forest Green
#2D5A27
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20512E #512043
analogous
#2B5120 #20512E #205147
triadic
#20512E #2E2051 #512E20
tetradic
#20512E #202B51 #512043 #514720
square
#20512E #202B51 #512043 #514720
split-complementary
#20512E #472051 #51202B
monochromatic
#09160C #0F2515 #20512E #317D47 #43A960
Accessibility & contrast
On white
9.22
#20512E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#20512E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20512E
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20512E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20512E | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#4B4630
Tritanopia (blue-blind)
#145048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #20512e; /* rgb */ color: rgb(32, 81, 46); /* oklch */ color: oklch(39.1% 0.079 150.5);
Tailwind
colors: {
custom: {
50: '#608267',
500: '#20512e',
950: '#000000',
},
}SCSS
$custom: #20512e; $custom-light: #608267; $custom-dark: #000000;
JSON
{
"hex": "#20512e",
"rgb": {
"r": 32,
"g": 81,
"b": 46
},
"hsl": {
"h": 137.143,
"s": 43.363,
"l": 22.157
},
"oklch": {
"l": 0.391,
"c": 0.07944,
"h": 150.5
},
"luminance": 0.06389
}Semantic roles & 50–950 ramp
primary
#20512E
secondary
#854774
accent
#55AFD3
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A