#505C40#505C40
#505C40 is a mid, muted yellow-green. Relative luminance 0.097; OKLCH L 45.6% C 0.046 H 127.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #505C40 |
|---|---|
| RGB | rgb(80, 92, 64) |
| HSL | hsl(86, 18%, 31%) |
| HSV | hsv(86, 30%, 36%) |
| CMYK | cmyk(13%, 0%, 30.4%, 63.9%) |
| CIE-LAB | lab(37.35, -10.30, 14.62) |
| CIE-LCH | lch(37.35, 17.88, 125.15°) |
| OKLab | oklab(45.63% -0.0277 0.0368) |
| OKLCH | oklch(45.63% 0.046 127) |
| XYZ | xyz(8.0607, 9.7299, 6.3029) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Hunter Green
#355E3B
ΔE00 8.14
Camo Green
#526525
ΔE00 9.31
Darkolivegreen
#556B2F
ΔE00 9.33
Pine
#2B5D34
ΔE00 9.77
Forest Green
#2D5A27
ΔE00 9.92
Army Green
#4B5D16
ΔE00 10.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505C40 #4C405C
analogous
#5C5A40 #505C40 #425C40
triadic
#505C40 #40505C #5C4050
tetradic
#505C40 #405C5A #4C405C #5C4042
square
#505C40 #405C5A #4C405C #5C4042
split-complementary
#505C40 #40425C #5A405C
monochromatic
#11140E #313827 #505C40 #6F8059 #8EA076
Accessibility & contrast
On white
7.13
#505C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#505C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #505C40
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505C40 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F583E
Deuteranopia (green-blind)
#5D5841
Tritanopia (blue-blind)
#525955
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #505c40; /* rgb */ color: rgb(80, 92, 64); /* oklch */ color: oklch(45.6% 0.046 127.0);
Tailwind
colors: {
custom: {
50: '#818a75',
500: '#505c40',
950: '#000000',
},
}SCSS
$custom: #505c40; $custom-light: #818a75; $custom-dark: #000000;
JSON
{
"hex": "#505c40",
"rgb": {
"r": 80,
"g": 92,
"b": 64
},
"hsl": {
"h": 85.714,
"s": 17.949,
"l": 30.588
},
"oklch": {
"l": 0.45628,
"c": 0.04609,
"h": 127
},
"luminance": 0.0973
}Semantic roles & 50–950 ramp
primary
#505C40
secondary
#7A6C8B
accent
#6DBB8E
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0B08
muted
#7C7C7B