#418E1F#418E1F
#418E1F is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.162 H 138.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #418E1F |
|---|---|
| RGB | rgb(65, 142, 31) |
| HSL | hsl(102, 64%, 34%) |
| HSV | hsv(102, 78%, 56%) |
| CMYK | cmyk(54.2%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(52.47, -43.62, 48.26) |
| CIE-LCH | lch(52.47, 65.05, 132.11°) |
| OKLab | oklab(57.58% -0.1206 0.1079) |
| OKLCH | oklch(57.58% 0.162 138.2) |
| XYZ | xyz(12.0999, 20.5678, 4.6284) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.40
True Green
#089404
ΔE00 3.91
Emerald Green
#028F1E
ΔE00 4.00
Grass Green
#3F9B0B
ΔE00 4.73
Irish Green
#019529
ΔE00 4.74
Sap Green
#5C8B15
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#418E1F #6C1F8E
analogous
#798E1F #418E1F #1F8E35
triadic
#418E1F #1F418E #8E1F41
tetradic
#418E1F #1F798E #6C1F8E #8E351F
square
#418E1F #1F798E #6C1F8E #8E351F
split-complementary
#418E1F #351F8E #8E1F79
monochromatic
#132A09 #2A5C14 #418E1F #58C02A #79D94F
Accessibility & contrast
On white
4.11
#418E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#418E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #418E1F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##418E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##418E1F | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#3B8979
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #418e1f; /* rgb */ color: rgb(65, 142, 31); /* oklch */ color: oklch(57.6% 0.162 138.2);
Tailwind
colors: {
custom: {
50: '#7eb064',
500: '#418e1f',
950: '#000000',
},
}SCSS
$custom: #418e1f; $custom-light: #7eb064; $custom-dark: #000000;
JSON
{
"hex": "#418e1f",
"rgb": {
"r": 65,
"g": 142,
"b": 31
},
"hsl": {
"h": 101.622,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.57583,
"c": 0.16178,
"h": 138.2
},
"luminance": 0.20569
}Semantic roles & 50–950 ramp
primary
#418E1F
secondary
#9A4DBB
accent
#41E7B4
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A