#406D1C#406D1C
#406D1C is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.5% C 0.121 H 134.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #406D1C |
|---|---|
| RGB | rgb(64, 109, 28) |
| HSL | hsl(93, 59%, 27%) |
| HSV | hsv(93, 74%, 43%) |
| CMYK | cmyk(41.3%, 0%, 74.3%, 57.3%) |
| CIE-LAB | lab(41.39, -30.17, 38.37) |
| CIE-LCH | lch(41.39, 48.81, 128.17°) |
| OKLab | oklab(48.46% -0.0844 0.0868) |
| OKLCH | oklch(48.46% 0.121 134.2) |
| XYZ | xyz(7.7924, 12.1107, 3.0254) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 5.28
Camo Green
#526525
ΔE00 5.77
Camouflage Green
#4B6113
ΔE00 5.82
Darkgreen
#006400
ΔE00 6.64
Tree Green
#2A7E19
ΔE00 6.77
Army Green
#4B5D16
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406D1C #491C6D
analogous
#696D1C #406D1C #1C6D20
triadic
#406D1C #1C406D #6D1C40
tetradic
#406D1C #1C696D #491C6D #6D201C
square
#406D1C #1C696D #491C6D #6D201C
split-complementary
#406D1C #201C6D #6D1C69
monochromatic
#0E1806 #233C0F #406D1C #5D9E29 #79CC38
Accessibility & contrast
On white
6.14
#406D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#406D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406D1C
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406D1C | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71640F
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#40695D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #406d1c; /* rgb */ color: rgb(64, 109, 28); /* oklch */ color: oklch(48.5% 0.121 134.2);
Tailwind
colors: {
custom: {
50: '#79975e',
500: '#406d1c',
950: '#000000',
},
}SCSS
$custom: #406d1c; $custom-light: #79975e; $custom-dark: #000000;
JSON
{
"hex": "#406d1c",
"rgb": {
"r": 64,
"g": 109,
"b": 28
},
"hsl": {
"h": 93.333,
"s": 59.124,
"l": 26.863
},
"oklch": {
"l": 0.48462,
"c": 0.12105,
"h": 134.2
},
"luminance": 0.12111
}Semantic roles & 50–950 ramp
primary
#406D1C
secondary
#7843A2
accent
#45E29D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79