#418C1F#418C1F
#418C1F is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.159 H 138.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #418C1F |
|---|---|
| RGB | rgb(65, 140, 31) |
| HSL | hsl(101, 64%, 34%) |
| HSV | hsv(101, 78%, 55%) |
| CMYK | cmyk(53.6%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(51.81, -42.83, 47.62) |
| CIE-LCH | lch(51.81, 64.04, 131.97°) |
| OKLab | oklab(57.04% -0.1184 0.1065) |
| OKLCH | oklch(57.04% 0.159 138) |
| XYZ | xyz(11.8050, 19.9780, 4.5301) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.20
Emerald Green
#028F1E
ΔE00 4.08
True Green
#089404
ΔE00 4.32
Dark Grass Green
#388004
ΔE00 4.61
Sap Green
#5C8B15
ΔE00 4.77
Irish Green
#019529
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#418C1F #6A1F8C
analogous
#778C1F #418C1F #1F8C33
triadic
#418C1F #1F418C #8C1F41
tetradic
#418C1F #1F778C #6A1F8C #8C331F
square
#418C1F #1F778C #6A1F8C #8C331F
split-complementary
#418C1F #331F8C #8C1F77
monochromatic
#122809 #2A5A14 #418C1F #58BE2A #79D84E
Accessibility & contrast
On white
4.20
#418C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#418C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #418C1F
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##418C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##418C1F | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#3B8777
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #418c1f; /* rgb */ color: rgb(65, 140, 31); /* oklch */ color: oklch(57.0% 0.159 138.0);
Tailwind
colors: {
custom: {
50: '#7eae63',
500: '#418c1f',
950: '#000000',
},
}SCSS
$custom: #418c1f; $custom-light: #7eae63; $custom-dark: #000000;
JSON
{
"hex": "#418c1f",
"rgb": {
"r": 65,
"g": 140,
"b": 31
},
"hsl": {
"h": 101.284,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.57038,
"c": 0.1593,
"h": 138
},
"luminance": 0.19979
}Semantic roles & 50–950 ramp
primary
#418C1F
secondary
#984CBB
accent
#41E7B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A