#408120#408120
#408120 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.145 H 137.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #408120 |
|---|---|
| RGB | rgb(64, 129, 32) |
| HSL | hsl(100, 60%, 32%) |
| HSV | hsv(100, 75%, 51%) |
| CMYK | cmyk(50.4%, 0%, 75.2%, 49.4%) |
| CIE-LAB | lab(48.13, -38.61, 43.59) |
| CIE-LCH | lch(48.13, 58.23, 131.53°) |
| OKLab | oklab(54% -0.1069 0.0983) |
| OKLCH | oklch(54% 0.145 137.4) |
| XYZ | xyz(10.2250, 16.8941, 4.0883) |
| Luminance | 0.1689 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.27
Tree Green
#2A7E19
ΔE00 2.69
Green
#008000
ΔE00 4.51
Forestgreen (CSS)
#228B22
ΔE00 4.52
Avocado
#568203
ΔE00 5.31
Emerald Green
#028F1E
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408120 #612081
analogous
#718120 #408120 #208131
triadic
#408120 #204081 #812040
tetradic
#408120 #207181 #612081 #813120
square
#408120 #207181 #612081 #813120
split-complementary
#408120 #312081 #812071
monochromatic
#0F1F08 #285014 #408120 #58B22C #76D249
Accessibility & contrast
On white
4.80
#408120 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#408120 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #408120
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408120 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##408120 | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85760E
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#3C7C6E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #408120; /* rgb */ color: rgb(64, 129, 32); /* oklch */ color: oklch(54.0% 0.145 137.4);
Tailwind
colors: {
custom: {
50: '#7ba662',
500: '#408120',
950: '#000000',
},
}SCSS
$custom: #408120; $custom-light: #7ba662; $custom-dark: #000000;
JSON
{
"hex": "#408120",
"rgb": {
"r": 64,
"g": 129,
"b": 32
},
"hsl": {
"h": 100.206,
"s": 60.248,
"l": 31.569
},
"oklch": {
"l": 0.53995,
"c": 0.14524,
"h": 137.4
},
"luminance": 0.16895
}Semantic roles & 50–950 ramp
primary
#408120
secondary
#9149B4
accent
#44E3AF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A