#408D0E#408D0E
#408D0E is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.2% C 0.168 H 137.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #408D0E |
|---|---|
| RGB | rgb(64, 141, 14) |
| HSL | hsl(96, 82%, 30%) |
| HSV | hsv(96, 90%, 55%) |
| CMYK | cmyk(54.6%, 0%, 90.1%, 44.7%) |
| CIE-LAB | lab(52.03, -44.38, 52.56) |
| CIE-LCH | lch(52.03, 68.79, 130.17°) |
| OKLab | oklab(57.18% -0.1234 0.1145) |
| OKLCH | oklch(57.18% 0.168 137.2) |
| XYZ | xyz(11.7181, 20.1705, 3.6912) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
True Green
#089404
ΔE00 4.03
Forestgreen (CSS)
#228B22
ΔE00 4.11
Sap Green
#5C8B15
ΔE00 4.26
Emerald Green
#028F1E
ΔE00 4.63
Grass Green
#3F9B0B
ΔE00 4.71
Dark Grass Green
#388004
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408D0E #5B0E8D
analogous
#7F8D0E #408D0E #0E8D1C
triadic
#408D0E #0E408D #8D0E40
tetradic
#408D0E #0E7F8D #5B0E8D #8D1C0E
square
#408D0E #0E7F8D #5B0E8D #8D1C0E
split-complementary
#408D0E #1C0E8D #8D0E7F
monochromatic
#0D1E03 #275508 #408D0E #59C514 #76EA2B
Accessibility & contrast
On white
4.17
#408D0E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#408D0E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408D0E
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408D0E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408D0E | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A21
Tritanopia (blue-blind)
#3B8877
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #408d0e; /* rgb */ color: rgb(64, 141, 14); /* oklch */ color: oklch(57.2% 0.168 137.2);
Tailwind
colors: {
custom: {
50: '#7eaf5d',
500: '#408d0e',
950: '#000000',
},
}SCSS
$custom: #408d0e; $custom-light: #7eaf5d; $custom-dark: #000000;
JSON
{
"hex": "#408d0e",
"rgb": {
"r": 64,
"g": 141,
"b": 14
},
"hsl": {
"h": 96.378,
"s": 81.935,
"l": 30.392
},
"oklch": {
"l": 0.57182,
"c": 0.16833,
"h": 137.2
},
"luminance": 0.20171
}Semantic roles & 50–950 ramp
primary
#408D0E
secondary
#8A35C2
accent
#30F8A9
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B1005
muted
#7C7F79