#40523C#40523C
#40523C is a dark, muted green. Relative luminance 0.075; OKLCH L 41.7% C 0.042 H 140.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #40523C |
|---|---|
| RGB | rgb(64, 82, 60) |
| HSL | hsl(109, 15%, 28%) |
| HSV | hsv(109, 27%, 32%) |
| CMYK | cmyk(22%, 0%, 26.8%, 67.8%) |
| CIE-LAB | lab(32.81, -11.90, 10.68) |
| CIE-LCH | lch(32.81, 15.99, 138.08°) |
| OKLab | oklab(41.65% -0.0324 0.0272) |
| OKLCH | oklch(41.65% 0.042 140) |
| XYZ | xyz(5.9471, 7.4507, 5.3989) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 7.38
Pine
#2B5D34
ΔE00 8.96
Forest Green
#2D5A27
ΔE00 9.70
Evergreen
#05472A
ΔE00 10.56
Darkslategray
#2F4F4F
ΔE00 10.96
Pine Green
#0A481E
ΔE00 11.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40523C #4E3C52
analogous
#4B523C #40523C #3C5243
triadic
#40523C #3C4052 #523C40
tetradic
#40523C #3C4B52 #4E3C52 #52433C
square
#40523C #3C4B52 #4E3C52 #52433C
split-complementary
#40523C #433C52 #523C4B
monochromatic
#0E120D #242F22 #40523C #5C7556 #789771
Accessibility & contrast
On white
8.43
#40523C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#40523C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40523C
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40523C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40523C | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534E3B
Deuteranopia (green-blind)
#504D3D
Tritanopia (blue-blind)
#3F504C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #40523c; /* rgb */ color: rgb(64, 82, 60); /* oklch */ color: oklch(41.7% 0.042 140.0);
Tailwind
colors: {
custom: {
50: '#758271',
500: '#40523c',
950: '#000000',
},
}SCSS
$custom: #40523c; $custom-light: #758271; $custom-dark: #000000;
JSON
{
"hex": "#40523c",
"rgb": {
"r": 64,
"g": 82,
"b": 60
},
"hsl": {
"h": 109.091,
"s": 15.493,
"l": 27.843
},
"oklch": {
"l": 0.41654,
"c": 0.04227,
"h": 140
},
"luminance": 0.07451
}Semantic roles & 50–950 ramp
primary
#40523C
secondary
#7D6882
accent
#70B8AB
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#080A07
muted
#7B7C7A