#406A4E#406A4E
#406A4E is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.5% C 0.065 H 154.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #406A4E |
|---|---|
| RGB | rgb(64, 106, 78) |
| HSL | hsl(140, 25%, 33%) |
| HSV | hsv(140, 40%, 42%) |
| CMYK | cmyk(39.6%, 0%, 26.4%, 58.4%) |
| CIE-LAB | lab(41.13, -21.42, 11.20) |
| CIE-LCH | lch(41.13, 24.17, 152.39°) |
| OKLab | oklab(48.49% -0.0588 0.0286) |
| OKLCH | oklch(48.49% 0.065 154.1) |
| XYZ | xyz(8.6430, 11.9476, 9.0569) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 5.01
Pine
#2B5D34
ΔE00 6.66
Spruce
#0A5F38
ΔE00 7.66
Dark Green Blue
#1F6357
ΔE00 8.07
Forest Green
#2D5A27
ΔE00 9.20
Darkolivegreen
#556B2F
ΔE00 10.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406A4E #6A405C
analogous
#476A40 #406A4E #406A63
triadic
#406A4E #4E406A #6A4E40
tetradic
#406A4E #40476A #6A405C #6A6340
square
#406A4E #40476A #6A405C #6A6340
split-complementary
#406A4E #63406A #6A4047
monochromatic
#121E16 #294432 #406A4E #57906A #77AD89
Accessibility & contrast
On white
6.20
#406A4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#406A4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406A4E
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406A4E | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A644C
Deuteranopia (green-blind)
#635F50
Tritanopia (blue-blind)
#386962
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #406a4e; /* rgb */ color: rgb(64, 106, 78); /* oklch */ color: oklch(48.5% 0.065 154.1);
Tailwind
colors: {
custom: {
50: '#77957f',
500: '#406a4e',
950: '#000000',
},
}SCSS
$custom: #406a4e; $custom-light: #77957f; $custom-dark: #000000;
JSON
{
"hex": "#406a4e",
"rgb": {
"r": 64,
"g": 106,
"b": 78
},
"hsl": {
"h": 140,
"s": 24.706,
"l": 33.333
},
"oklch": {
"l": 0.48493,
"c": 0.06542,
"h": 154.1
},
"luminance": 0.11948
}Semantic roles & 50–950 ramp
primary
#406A4E
secondary
#986D8A
accent
#67A3C1
background
#F7F9F7
surface
#EDF1EE
border
#C8CBC9
text
#090D0A
muted
#7B7E7C