#408D1C#408D1C
#408D1C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.163 H 138.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #408D1C |
|---|---|
| RGB | rgb(64, 141, 28) |
| HSL | hsl(101, 67%, 33%) |
| HSV | hsv(101, 80%, 55%) |
| CMYK | cmyk(54.6%, 0%, 80.1%, 44.7%) |
| CIE-LAB | lab(52.09, -43.71, 48.88) |
| CIE-LCH | lch(52.09, 65.57, 131.81°) |
| OKLab | oklab(57.25% -0.1209 0.1087) |
| OKLCH | oklch(57.25% 0.163 138) |
| XYZ | xyz(11.8484, 20.2227, 4.3774) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.33
True Green
#089404
ΔE00 3.98
Emerald Green
#028F1E
ΔE00 4.02
Sap Green
#5C8B15
ΔE00 4.73
Dark Grass Green
#388004
ΔE00 4.84
Irish Green
#019529
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408D1C #691C8D
analogous
#788D1C #408D1C #1C8D30
triadic
#408D1C #1C408D #8D1C40
tetradic
#408D1C #1C788D #691C8D #8D301C
square
#408D1C #1C788D #691C8D #8D301C
split-complementary
#408D1C #301C8D #8D1C78
monochromatic
#122708 #295A12 #408D1C #57C026 #77DB49
Accessibility & contrast
On white
4.16
#408D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#408D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408D1C
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408D1C | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#3A8878
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #408d1c; /* rgb */ color: rgb(64, 141, 28); /* oklch */ color: oklch(57.2% 0.163 138.0);
Tailwind
colors: {
custom: {
50: '#7eaf62',
500: '#408d1c',
950: '#000000',
},
}SCSS
$custom: #408d1c; $custom-light: #7eaf62; $custom-dark: #000000;
JSON
{
"hex": "#408d1c",
"rgb": {
"r": 64,
"g": 141,
"b": 28
},
"hsl": {
"h": 100.885,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.57249,
"c": 0.16262,
"h": 138
},
"luminance": 0.20224
}Semantic roles & 50–950 ramp
primary
#408D1C
secondary
#9848BD
accent
#3EEAB3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A