#408F1A#408F1A
#408F1A is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.166 H 138.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #408F1A |
|---|---|
| RGB | rgb(64, 143, 26) |
| HSL | hsl(101, 69%, 33%) |
| HSV | hsv(101, 82%, 56%) |
| CMYK | cmyk(55.2%, 0%, 81.8%, 43.9%) |
| CIE-LAB | lab(52.74, -44.60, 50.12) |
| CIE-LCH | lch(52.74, 67.09, 131.67°) |
| OKLab | oklab(57.78% -0.1235 0.111) |
| OKLCH | oklch(57.78% 0.166 138) |
| XYZ | xyz(12.1228, 20.8085, 4.3547) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 3.60
Forestgreen (CSS)
#228B22
ΔE00 3.72
Emerald Green
#028F1E
ΔE00 4.10
Grass Green
#3F9B0B
ΔE00 4.22
Grassy Green
#419C03
ΔE00 4.69
Sap Green
#5C8B15
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408F1A #691A8F
analogous
#7A8F1A #408F1A #1A8F2E
triadic
#408F1A #1A408F #8F1A40
tetradic
#408F1A #1A7A8F #691A8F #8F2E1A
square
#408F1A #1A7A8F #691A8F #8F2E1A
split-complementary
#408F1A #2E1A8F #8F1A7A
monochromatic
#122707 #295B11 #408F1A #57C323 #77DD46
Accessibility & contrast
On white
4.07
#408F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#408F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408F1A
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408F1A | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7B28
Tritanopia (blue-blind)
#398A7A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #408f1a; /* rgb */ color: rgb(64, 143, 26); /* oklch */ color: oklch(57.8% 0.166 138.0);
Tailwind
colors: {
custom: {
50: '#7eb061',
500: '#408f1a',
950: '#000000',
},
}SCSS
$custom: #408f1a; $custom-light: #7eb061; $custom-dark: #000000;
JSON
{
"hex": "#408f1a",
"rgb": {
"r": 64,
"g": 143,
"b": 26
},
"hsl": {
"h": 100.513,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.57783,
"c": 0.16604,
"h": 138
},
"luminance": 0.20809
}Semantic roles & 50–950 ramp
primary
#408F1A
secondary
#9846BF
accent
#3CECB3
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A