#405B30#405B30
#405B30 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.8% C 0.074 H 134.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #405B30 |
|---|---|
| RGB | rgb(64, 91, 48) |
| HSL | hsl(98, 31%, 27%) |
| HSV | hsv(98, 47%, 36%) |
| CMYK | cmyk(29.7%, 0%, 47.3%, 64.3%) |
| CIE-LAB | lab(35.57, -18.98, 21.58) |
| CIE-LCH | lch(35.57, 28.74, 131.33°) |
| OKLab | oklab(43.8% -0.0521 0.0526) |
| OKLCH | oklch(43.8% 0.074 134.8) |
| XYZ | xyz(6.3888, 8.7854, 4.1549) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.08
Hunter Green
#355E3B
ΔE00 4.48
Pine
#2B5D34
ΔE00 5.00
Navy Green
#35530A
ΔE00 6.82
Camo Green
#526525
ΔE00 6.95
Army Green
#4B5D16
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405B30 #4B305B
analogous
#565B30 #405B30 #305B36
triadic
#405B30 #30405B #5B3040
tetradic
#405B30 #30565B #4B305B #5B3630
square
#405B30 #30565B #4B305B #5B3630
split-complementary
#405B30 #36305B #5B3056
monochromatic
#0E140B #24331B #405B30 #5C8345 #79A95C
Accessibility & contrast
On white
7.62
#405B30 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#405B30 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405B30
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405B30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405B30 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552D
Deuteranopia (green-blind)
#5A5333
Tritanopia (blue-blind)
#405851
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #405b30; /* rgb */ color: rgb(64, 91, 48); /* oklch */ color: oklch(43.8% 0.074 134.8);
Tailwind
colors: {
custom: {
50: '#768969',
500: '#405b30',
950: '#000000',
},
}SCSS
$custom: #405b30; $custom-light: #768969; $custom-dark: #000000;
JSON
{
"hex": "#405b30",
"rgb": {
"r": 64,
"g": 91,
"b": 48
},
"hsl": {
"h": 97.674,
"s": 30.935,
"l": 27.255
},
"oklch": {
"l": 0.43797,
"c": 0.07404,
"h": 134.8
},
"luminance": 0.08786
}Semantic roles & 50–950 ramp
primary
#405B30
secondary
#7A5A8C
accent
#61C7A1
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080B06
muted
#7B7C7A