#408F2A#408F2A
#408F2A is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.157 H 139.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #408F2A |
|---|---|
| RGB | rgb(64, 143, 42) |
| HSL | hsl(107, 55%, 36%) |
| HSV | hsv(107, 71%, 56%) |
| CMYK | cmyk(55.2%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(52.84, -43.45, 44.43) |
| CIE-LCH | lch(52.84, 62.15, 134.36°) |
| OKLab | oklab(57.9% -0.1194 0.1014) |
| OKLCH | oklch(57.9% 0.157 139.6) |
| XYZ | xyz(12.3542, 20.9011, 5.5733) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.04
Emerald Green
#028F1E
ΔE00 3.63
Irish Green
#019529
ΔE00 4.01
True Green
#089404
ΔE00 4.13
Fern Green
#548D44
ΔE00 4.47
Kelley Green
#009337
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408F2A #792A8F
analogous
#738F2A #408F2A #2A8F47
triadic
#408F2A #2A408F #8F2A40
tetradic
#408F2A #2A738F #792A8F #8F472A
square
#408F2A #2A738F #792A8F #8F472A
split-complementary
#408F2A #472A8F #8F2A73
monochromatic
#16300E #2B601C #408F2A #55BE38 #7AD162
Accessibility & contrast
On white
4.05
#408F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#408F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408F2A
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408F2A | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#388A7B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #408f2a; /* rgb */ color: rgb(64, 143, 42); /* oklch */ color: oklch(57.9% 0.157 139.6);
Tailwind
colors: {
custom: {
50: '#7db069',
500: '#408f2a',
950: '#000000',
},
}SCSS
$custom: #408f2a; $custom-light: #7db069; $custom-dark: #000000;
JSON
{
"hex": "#408f2a",
"rgb": {
"r": 64,
"g": 143,
"b": 42
},
"hsl": {
"h": 106.931,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.579,
"c": 0.15664,
"h": 139.6
},
"luminance": 0.20902
}Semantic roles & 50–950 ramp
primary
#408F2A
secondary
#A45EB7
accent
#4ADEBE
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1107
muted
#7C807A