#405C2C#405C2C
#405C2C is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.0% C 0.080 H 133.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #405C2C |
|---|---|
| RGB | rgb(64, 92, 44) |
| HSL | hsl(95, 35%, 27%) |
| HSV | hsv(95, 52%, 36%) |
| CMYK | cmyk(30.4%, 0%, 52.2%, 63.9%) |
| CIE-LAB | lab(35.84, -20.08, 24.20) |
| CIE-LCH | lch(35.84, 31.45, 129.68°) |
| OKLab | oklab(44% -0.0554 0.0582) |
| OKLCH | oklch(44% 0.08 133.6) |
| XYZ | xyz(6.3960, 8.9259, 3.7683) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.80
Hunter Green
#355E3B
ΔE00 5.31
Pine
#2B5D34
ΔE00 5.41
Navy Green
#35530A
ΔE00 5.86
Camo Green
#526525
ΔE00 5.99
Army Green
#4B5D16
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405C2C #482C5C
analogous
#585C2C #405C2C #2C5C30
triadic
#405C2C #2C405C #5C2C40
tetradic
#405C2C #2C585C #482C5C #5C302C
square
#405C2C #2C585C #482C5C #5C302C
split-complementary
#405C2C #302C5C #5C2C58
monochromatic
#0E150A #233318 #405C2C #5D8540 #7AAE55
Accessibility & contrast
On white
7.54
#405C2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#405C2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405C2C
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405C2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405C2C | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5628
Deuteranopia (green-blind)
#5B532F
Tritanopia (blue-blind)
#405951
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #405c2c; /* rgb */ color: rgb(64, 92, 44); /* oklch */ color: oklch(44.0% 0.080 133.6);
Tailwind
colors: {
custom: {
50: '#768a66',
500: '#405c2c',
950: '#000000',
},
}SCSS
$custom: #405c2c; $custom-light: #768a66; $custom-dark: #000000;
JSON
{
"hex": "#405c2c",
"rgb": {
"r": 64,
"g": 92,
"b": 44
},
"hsl": {
"h": 95,
"s": 35.294,
"l": 26.667
},
"oklch": {
"l": 0.43998,
"c": 0.08039,
"h": 133.6
},
"luminance": 0.08926
}Semantic roles & 50–950 ramp
primary
#405C2C
secondary
#77568E
accent
#5CCB9D
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080B06
muted
#7B7C7A