#418C2F#418C2F
#418C2F is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.2% C 0.149 H 140.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #418C2F |
|---|---|
| RGB | rgb(65, 140, 47) |
| HSL | hsl(108, 50%, 37%) |
| HSV | hsv(108, 66%, 55%) |
| CMYK | cmyk(53.6%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(51.93, -41.49, 41.32) |
| CIE-LCH | lch(51.93, 58.55, 135.12°) |
| OKLab | oklab(57.18% -0.1138 0.0955) |
| OKLCH | oklch(57.18% 0.149 140) |
| XYZ | xyz(12.0706, 20.0843, 5.9294) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.87
Fern Green
#548D44
ΔE00 3.72
Emerald Green
#028F1E
ΔE00 3.97
Irish Green
#019529
ΔE00 4.62
Kelley Green
#009337
ΔE00 4.80
True Green
#089404
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#418C2F #7A2F8C
analogous
#708C2F #418C2F #2F8C4C
triadic
#418C2F #2F418C #8C2F41
tetradic
#418C2F #2F708C #7A2F8C #8C4C2F
square
#418C2F #2F708C #7A2F8C #8C4C2F
split-complementary
#418C2F #4C2F8C #8C2F70
monochromatic
#163010 #2C5E20 #418C2F #56BA3E #7CCD69
Accessibility & contrast
On white
4.19
#418C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#418C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #418C2F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##418C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##418C2F | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#398779
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #418c2f; /* rgb */ color: rgb(65, 140, 47); /* oklch */ color: oklch(57.2% 0.149 140.0);
Tailwind
colors: {
custom: {
50: '#7dae6c',
500: '#418c2f',
950: '#000000',
},
}SCSS
$custom: #418c2f; $custom-light: #7dae6c; $custom-dark: #000000;
JSON
{
"hex": "#418c2f",
"rgb": {
"r": 65,
"g": 140,
"b": 47
},
"hsl": {
"h": 108.387,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.57175,
"c": 0.14854,
"h": 140
},
"luminance": 0.20085
}Semantic roles & 50–950 ramp
primary
#418C2F
secondary
#A463B4
accent
#4FD9BE
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0A1007
muted
#7C7F7A