#418D2F#418D2F
#418D2F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.150 H 140.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #418D2F |
|---|---|
| RGB | rgb(65, 141, 47) |
| HSL | hsl(109, 50%, 37%) |
| HSV | hsv(109, 67%, 55%) |
| CMYK | cmyk(53.9%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(52.26, -41.89, 41.68) |
| CIE-LCH | lch(52.26, 59.09, 135.15°) |
| OKLab | oklab(57.45% -0.1149 0.0963) |
| OKLCH | oklch(57.45% 0.15 140) |
| XYZ | xyz(12.2174, 20.3778, 5.9783) |
| Luminance | 0.2038 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.93
Fern Green
#548D44
ΔE00 3.75
Emerald Green
#028F1E
ΔE00 3.88
Irish Green
#019529
ΔE00 4.40
Kelley Green
#009337
ΔE00 4.67
True Green
#089404
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#418D2F #7B2F8D
analogous
#708D2F #418D2F #2F8D4C
triadic
#418D2F #2F418D #8D2F41
tetradic
#418D2F #2F708D #7B2F8D #8D4C2F
square
#418D2F #2F708D #7B2F8D #8D4C2F
split-complementary
#418D2F #4C2F8D #8D2F70
monochromatic
#173110 #2C5F20 #418D2F #56BB3E #7CCD69
Accessibility & contrast
On white
4.14
#418D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#418D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #418D2F
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##418D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##418D2F | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#39887A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #418d2f; /* rgb */ color: rgb(65, 141, 47); /* oklch */ color: oklch(57.4% 0.150 140.0);
Tailwind
colors: {
custom: {
50: '#7daf6c',
500: '#418d2f',
950: '#000000',
},
}SCSS
$custom: #418d2f; $custom-light: #7daf6c; $custom-dark: #000000;
JSON
{
"hex": "#418d2f",
"rgb": {
"r": 65,
"g": 141,
"b": 47
},
"hsl": {
"h": 108.511,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.57447,
"c": 0.14987,
"h": 140
},
"luminance": 0.20379
}Semantic roles & 50–950 ramp
primary
#418D2F
secondary
#A564B4
accent
#4EDABF
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0A1007
muted
#7C7F7A