#408E1A#408E1A
#408E1A is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.165 H 138.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #408E1A |
|---|---|
| RGB | rgb(64, 142, 26) |
| HSL | hsl(100, 69%, 33%) |
| HSV | hsv(100, 82%, 56%) |
| CMYK | cmyk(54.9%, 0%, 81.7%, 44.3%) |
| CIE-LAB | lab(52.41, -44.22, 49.81) |
| CIE-LCH | lch(52.41, 66.61, 131.59°) |
| OKLab | oklab(57.51% -0.1224 0.1104) |
| OKLCH | oklch(57.51% 0.165 138) |
| XYZ | xyz(11.9734, 20.5096, 4.3049) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.57
True Green
#089404
ΔE00 3.77
Emerald Green
#028F1E
ΔE00 4.09
Grass Green
#3F9B0B
ΔE00 4.57
Sap Green
#5C8B15
ΔE00 4.68
Irish Green
#019529
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408E1A #681A8E
analogous
#7A8E1A #408E1A #1A8E2E
triadic
#408E1A #1A408E #8E1A40
tetradic
#408E1A #1A7A8E #681A8E #8E2E1A
square
#408E1A #1A7A8E #681A8E #8E2E1A
split-complementary
#408E1A #2E1A8E #8E1A7A
monochromatic
#112707 #295A11 #408E1A #57C223 #77DD45
Accessibility & contrast
On white
4.12
#408E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#408E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408E1A
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408E1A | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#3A8979
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #408e1a; /* rgb */ color: rgb(64, 142, 26); /* oklch */ color: oklch(57.5% 0.165 138.0);
Tailwind
colors: {
custom: {
50: '#7eb061',
500: '#408e1a',
950: '#000000',
},
}SCSS
$custom: #408e1a; $custom-light: #7eb061; $custom-dark: #000000;
JSON
{
"hex": "#408e1a",
"rgb": {
"r": 64,
"g": 142,
"b": 26
},
"hsl": {
"h": 100.345,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.5751,
"c": 0.16483,
"h": 138
},
"luminance": 0.20511
}Semantic roles & 50–950 ramp
primary
#408E1A
secondary
#9745BE
accent
#3CECB2
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A