#406F1C#406F1C
#406F1C is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 49.0% C 0.124 H 134.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #406F1C |
|---|---|
| RGB | rgb(64, 111, 28) |
| HSL | hsl(94, 60%, 27%) |
| HSV | hsv(94, 75%, 44%) |
| CMYK | cmyk(42.3%, 0%, 74.8%, 56.5%) |
| CIE-LAB | lab(42.07, -31.08, 39.06) |
| CIE-LCH | lch(42.07, 49.92, 128.51°) |
| OKLab | oklab(49.01% -0.0869 0.0882) |
| OKLCH | oklch(49.01% 0.124 134.6) |
| XYZ | xyz(8.0082, 12.5423, 3.0973) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 5.60
Tree Green
#2A7E19
ΔE00 6.10
Camo Green
#526525
ΔE00 6.27
Camouflage Green
#4B6113
ΔE00 6.39
Dark Grass Green
#388004
ΔE00 6.66
Darkgreen
#006400
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406F1C #4B1C6F
analogous
#6A6F1C #406F1C #1C6F22
triadic
#406F1C #1C406F #6F1C40
tetradic
#406F1C #1C6A6F #4B1C6F #6F221C
square
#406F1C #1C6A6F #4B1C6F #6F221C
split-complementary
#406F1C #221C6F #6F1C6A
monochromatic
#0E1806 #243E10 #406F1C #5CA028 #79CD38
Accessibility & contrast
On white
5.99
#406F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#406F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406F1C
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406F1C | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73660E
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#3F6B5F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #406f1c; /* rgb */ color: rgb(64, 111, 28); /* oklch */ color: oklch(49.0% 0.124 134.6);
Tailwind
colors: {
custom: {
50: '#79995e',
500: '#406f1c',
950: '#000000',
},
}SCSS
$custom: #406f1c; $custom-light: #79995e; $custom-dark: #000000;
JSON
{
"hex": "#406f1c",
"rgb": {
"r": 64,
"g": 111,
"b": 28
},
"hsl": {
"h": 93.976,
"s": 59.712,
"l": 27.255
},
"oklch": {
"l": 0.49013,
"c": 0.12381,
"h": 134.6
},
"luminance": 0.12543
}Semantic roles & 50–950 ramp
primary
#406F1C
secondary
#7A43A4
accent
#45E39E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79