#40503F#40503F
#40503F is a dark, muted green. Relative luminance 0.072; OKLCH L 41.2% C 0.034 H 143.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #40503F |
|---|---|
| RGB | rgb(64, 80, 63) |
| HSL | hsl(116, 12%, 28%) |
| HSV | hsv(116, 21%, 31%) |
| CMYK | cmyk(20%, 0%, 21.2%, 68.6%) |
| CIE-LAB | lab(32.23, -10.12, 7.99) |
| CIE-LCH | lch(32.23, 12.90, 141.72°) |
| OKLab | oklab(41.21% -0.0276 0.0205) |
| OKLCH | oklch(41.21% 0.034 143.4) |
| XYZ | xyz(5.8800, 7.1861, 5.7789) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 9.20
Darkslategray
#2F4F4F
ΔE00 9.38
Pine
#2B5D34
ΔE00 10.80
Evergreen
#05472A
ΔE00 11.53
Forest Green
#2D5A27
ΔE00 11.66
Charcoal Grey
#3C4142
ΔE00 11.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40503F #4F3F50
analogous
#48503F #40503F #3F5046
triadic
#40503F #3F4050 #503F40
tetradic
#40503F #3F4850 #4F3F50 #50463F
square
#40503F #3F4850 #4F3F50 #50463F
split-complementary
#40503F #463F50 #503F48
monochromatic
#0E110D #252E24 #40503F #5B725A #789376
Accessibility & contrast
On white
8.62
#40503F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#40503F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40503F
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40503F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40503F | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514D3E
Deuteranopia (green-blind)
#4E4B40
Tritanopia (blue-blind)
#3F4F4B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #40503f; /* rgb */ color: rgb(64, 80, 63); /* oklch */ color: oklch(41.2% 0.034 143.4);
Tailwind
colors: {
custom: {
50: '#758174',
500: '#40503f',
950: '#000000',
},
}SCSS
$custom: #40503f; $custom-light: #758174; $custom-dark: #000000;
JSON
{
"hex": "#40503f",
"rgb": {
"r": 64,
"g": 80,
"b": 63
},
"hsl": {
"h": 116.471,
"s": 11.888,
"l": 28.039
},
"oklch": {
"l": 0.4121,
"c": 0.03442,
"h": 143.4
},
"luminance": 0.07186
}Semantic roles & 50–950 ramp
primary
#40503F
secondary
#7E6C7F
accent
#73B5B1
background
#F7F7F7
surface
#EDEEED
border
#C8C9C8
text
#080A08
muted
#7B7C7B