#20522F#20522F
#20522F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.080 H 150.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #20522F |
|---|---|
| RGB | rgb(32, 82, 47) |
| HSL | hsl(138, 44%, 22%) |
| HSV | hsv(138, 61%, 32%) |
| CMYK | cmyk(61%, 0%, 42.7%, 67.8%) |
| CIE-LAB | lab(30.75, -25.79, 15.62) |
| CIE-LCH | lch(30.75, 30.16, 148.80°) |
| OKLab | oklab(39.42% -0.0699 0.0389) |
| OKLCH | oklch(39.42% 0.08 150.9) |
| XYZ | xyz(4.1257, 6.5465, 3.7350) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.86
Pine Green
#0A481E
ΔE00 4.22
Evergreen
#05472A
ΔE00 4.39
Hunter Green
#355E3B
ΔE00 4.61
Spruce
#0A5F38
ΔE00 4.94
Forest Green
#2D5A27
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20522F #522043
analogous
#2A5220 #20522F #205248
triadic
#20522F #2F2052 #522F20
tetradic
#20522F #202A52 #522043 #524820
square
#20522F #202A52 #522043 #524820
split-complementary
#20522F #482052 #52202A
monochromatic
#09160D #0F2616 #20522F #317E48 #42AA61
Accessibility & contrast
On white
9.09
#20522F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#20522F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20522F
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20522F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20522F | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2D
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#135149
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #20522f; /* rgb */ color: rgb(32, 82, 47); /* oklch */ color: oklch(39.4% 0.080 150.9);
Tailwind
colors: {
custom: {
50: '#618368',
500: '#20522f',
950: '#000000',
},
}SCSS
$custom: #20522f; $custom-light: #618368; $custom-dark: #000000;
JSON
{
"hex": "#20522f",
"rgb": {
"r": 32,
"g": 82,
"b": 47
},
"hsl": {
"h": 138,
"s": 43.86,
"l": 22.353
},
"oklch": {
"l": 0.39416,
"c": 0.07997,
"h": 150.9
},
"luminance": 0.06547
}Semantic roles & 50–950 ramp
primary
#20522F
secondary
#864774
accent
#54ADD4
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A