#406C4E#406C4E
#406C4E is a mid, moderate green. Relative luminance 0.124; OKLCH L 49.0% C 0.069 H 153.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #406C4E |
|---|---|
| RGB | rgb(64, 108, 78) |
| HSL | hsl(139, 26%, 34%) |
| HSV | hsv(139, 41%, 42%) |
| CMYK | cmyk(40.7%, 0%, 27.8%, 57.6%) |
| CIE-LAB | lab(41.79, -22.46, 12.11) |
| CIE-LCH | lch(41.79, 25.51, 151.66°) |
| OKLab | oklab(49.03% -0.0616 0.0309) |
| OKLCH | oklch(49.03% 0.069 153.4) |
| XYZ | xyz(8.8515, 12.3646, 9.1265) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 5.32
Pine
#2B5D34
ΔE00 6.76
Spruce
#0A5F38
ΔE00 7.67
Dark Green Blue
#1F6357
ΔE00 8.63
Forest Green
#2D5A27
ΔE00 9.21
Dark Sage
#598556
ΔE00 10.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406C4E #6C405E
analogous
#486C40 #406C4E #406C64
triadic
#406C4E #4E406C #6C4E40
tetradic
#406C4E #40486C #6C405E #6C6440
square
#406C4E #40486C #6C405E #6C6440
split-complementary
#406C4E #64406C #6C4048
monochromatic
#121F16 #294632 #406C4E #57926A #78AF89
Accessibility & contrast
On white
6.05
#406C4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#406C4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406C4E
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406C4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406C4E | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C654C
Deuteranopia (green-blind)
#656150
Tritanopia (blue-blind)
#386B64
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #406c4e; /* rgb */ color: rgb(64, 108, 78); /* oklch */ color: oklch(49.0% 0.069 153.4);
Tailwind
colors: {
custom: {
50: '#77967f',
500: '#406c4e',
950: '#000000',
},
}SCSS
$custom: #406c4e; $custom-light: #77967f; $custom-dark: #000000;
JSON
{
"hex": "#406c4e",
"rgb": {
"r": 64,
"g": 108,
"b": 78
},
"hsl": {
"h": 139.091,
"s": 25.581,
"l": 33.725
},
"oklch": {
"l": 0.49025,
"c": 0.06888,
"h": 153.4
},
"luminance": 0.12365
}Semantic roles & 50–950 ramp
primary
#406C4E
secondary
#9A6E8C
accent
#66A5C2
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090D0A
muted
#7B7E7C