#40543F#40543F
#40543F is a dark, muted green. Relative luminance 0.078; OKLCH L 42.3% C 0.042 H 143.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #40543F |
|---|---|
| RGB | rgb(64, 84, 63) |
| HSL | hsl(117, 14%, 29%) |
| HSV | hsv(117, 25%, 33%) |
| CMYK | cmyk(23.8%, 0%, 25%, 67.1%) |
| CIE-LAB | lab(33.54, -12.46, 9.82) |
| CIE-LCH | lch(33.54, 15.86, 141.76°) |
| OKLab | oklab(42.26% -0.034 0.0251) |
| OKLCH | oklch(42.26% 0.042 143.6) |
| XYZ | xyz(6.1816, 7.7893, 5.8795) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 6.95
Pine
#2B5D34
ΔE00 8.68
Forest Green
#2D5A27
ΔE00 9.74
Darkslategray
#2F4F4F
ΔE00 10.43
Evergreen
#05472A
ΔE00 10.47
Spruce
#0A5F38
ΔE00 10.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40543F #533F54
analogous
#4B543F #40543F #3F5449
triadic
#40543F #3F4054 #543F40
tetradic
#40543F #3F4B54 #533F54 #54493F
square
#40543F #3F4B54 #533F54 #54493F
split-complementary
#40543F #493F54 #543F4B
monochromatic
#0D110D #253125 #40543F #5B7759 #779876
Accessibility & contrast
On white
8.21
#40543F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#40543F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40543F
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40543F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40543F | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55503E
Deuteranopia (green-blind)
#524E40
Tritanopia (blue-blind)
#3E534E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #40543f; /* rgb */ color: rgb(64, 84, 63); /* oklch */ color: oklch(42.3% 0.042 143.6);
Tailwind
colors: {
custom: {
50: '#758474',
500: '#40543f',
950: '#000000',
},
}SCSS
$custom: #40543f; $custom-light: #758474; $custom-dark: #000000;
JSON
{
"hex": "#40543f",
"rgb": {
"r": 64,
"g": 84,
"b": 63
},
"hsl": {
"h": 117.143,
"s": 14.286,
"l": 28.824
},
"oklch": {
"l": 0.42261,
"c": 0.04226,
"h": 143.6
},
"luminance": 0.0779
}Semantic roles & 50–950 ramp
primary
#40543F
secondary
#826B83
accent
#71B7B4
background
#F7F8F7
surface
#EDEFED
border
#C8CAC8
text
#080A08
muted
#7B7C7B