#405F4E#405F4E
#405F4E is a mid, muted green. Relative luminance 0.098; OKLCH L 45.6% C 0.046 H 159.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #405F4E |
|---|---|
| RGB | rgb(64, 95, 78) |
| HSL | hsl(147, 19%, 31%) |
| HSV | hsv(147, 33%, 37%) |
| CMYK | cmyk(32.6%, 0%, 17.9%, 62.7%) |
| CIE-LAB | lab(37.52, -15.48, 6.13) |
| CIE-LCH | lch(37.52, 16.65, 158.39°) |
| OKLab | oklab(45.58% -0.0432 0.0158) |
| OKLCH | oklch(45.58% 0.046 159.9) |
| XYZ | xyz(7.5812, 9.8241, 8.7030) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 6.60
Dark Green Blue
#1F6357
ΔE00 6.91
Pine
#2B5D34
ΔE00 8.68
Dark Blue Green
#005249
ΔE00 9.36
Darkslategray
#2F4F4F
ΔE00 9.50
Spruce
#0A5F38
ΔE00 9.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405F4E #5F4051
analogous
#415F40 #405F4E #405F5D
triadic
#405F4E #4E405F #5F4E40
tetradic
#405F4E #40415F #5F4051 #5F5D40
square
#405F4E #40415F #5F4051 #5F5D40
split-complementary
#405F4E #5D405F #5F4041
monochromatic
#0F1612 #273A30 #405F4E #59846C #76A38B
Accessibility & contrast
On white
7.08
#405F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#405F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405F4E
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405F4E | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5A4D
Deuteranopia (green-blind)
#59574F
Tritanopia (blue-blind)
#3A5F5A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #405f4e; /* rgb */ color: rgb(64, 95, 78); /* oklch */ color: oklch(45.6% 0.046 159.9);
Tailwind
colors: {
custom: {
50: '#768c7f',
500: '#405f4e',
950: '#000000',
},
}SCSS
$custom: #405f4e; $custom-light: #768c7f; $custom-dark: #000000;
JSON
{
"hex": "#405f4e",
"rgb": {
"r": 64,
"g": 95,
"b": 78
},
"hsl": {
"h": 147.097,
"s": 19.497,
"l": 31.176
},
"oklch": {
"l": 0.45583,
"c": 0.04597,
"h": 159.9
},
"luminance": 0.09824
}Semantic roles & 50–950 ramp
primary
#405F4E
secondary
#8F6C7F
accent
#6C98BC
background
#F7F8F7
surface
#EDF0EE
border
#C8CBC9
text
#080C0A
muted
#7B7D7C