#406E1A#406E1A
#406E1A is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.7% C 0.124 H 134.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #406E1A |
|---|---|
| RGB | rgb(64, 110, 26) |
| HSL | hsl(93, 62%, 27%) |
| HSV | hsv(93, 76%, 43%) |
| CMYK | cmyk(41.8%, 0%, 76.4%, 56.9%) |
| CIE-LAB | lab(41.71, -30.78, 39.51) |
| CIE-LCH | lch(41.71, 50.08, 127.92°) |
| OKLab | oklab(48.72% -0.0862 0.0888) |
| OKLCH | oklch(48.72% 0.124 134.1) |
| XYZ | xyz(7.8766, 12.3160, 2.9393) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 5.54
Camouflage Green
#4B6113
ΔE00 6.03
Camo Green
#526525
ΔE00 6.05
Tree Green
#2A7E19
ΔE00 6.42
Darkgreen
#006400
ΔE00 6.74
Dark Grass Green
#388004
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406E1A #481A6E
analogous
#6A6E1A #406E1A #1A6E1E
triadic
#406E1A #1A406E #6E1A40
tetradic
#406E1A #1A6A6E #481A6E #6E1E1A
square
#406E1A #1A6A6E #481A6E #6E1E1A
split-complementary
#406E1A #1E1A6E #6E1A6A
monochromatic
#0E1906 #233D0E #406E1A #5DA026 #7ACF34
Accessibility & contrast
On white
6.06
#406E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#406E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406E1A
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406E1A | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72650A
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#40695E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #406e1a; /* rgb */ color: rgb(64, 110, 26); /* oklch */ color: oklch(48.7% 0.124 134.1);
Tailwind
colors: {
custom: {
50: '#79985d',
500: '#406e1a',
950: '#000000',
},
}SCSS
$custom: #406e1a; $custom-light: #79985d; $custom-dark: #000000;
JSON
{
"hex": "#406e1a",
"rgb": {
"r": 64,
"g": 110,
"b": 26
},
"hsl": {
"h": 92.857,
"s": 61.765,
"l": 26.667
},
"oklch": {
"l": 0.48721,
"c": 0.12379,
"h": 134.1
},
"luminance": 0.12316
}Semantic roles & 50–950 ramp
primary
#406E1A
secondary
#7741A3
accent
#43E59C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79