#418F1F#418F1F
#418F1F is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.163 H 138.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #418F1F |
|---|---|
| RGB | rgb(65, 143, 31) |
| HSL | hsl(102, 64%, 34%) |
| HSV | hsv(102, 78%, 56%) |
| CMYK | cmyk(54.5%, 0%, 78.3%, 43.9%) |
| CIE-LAB | lab(52.80, -44.01, 48.58) |
| CIE-LCH | lch(52.80, 65.55, 132.17°) |
| OKLab | oklab(57.86% -0.1216 0.1085) |
| OKLCH | oklch(57.86% 0.163 138.3) |
| XYZ | xyz(12.2493, 20.8667, 4.6782) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.55
True Green
#089404
ΔE00 3.74
Emerald Green
#028F1E
ΔE00 4.01
Grass Green
#3F9B0B
ΔE00 4.39
Irish Green
#019529
ΔE00 4.60
Sap Green
#5C8B15
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#418F1F #6D1F8F
analogous
#798F1F #418F1F #1F8F35
triadic
#418F1F #1F418F #8F1F41
tetradic
#418F1F #1F798F #6D1F8F #8F351F
square
#418F1F #1F798F #6D1F8F #8F351F
split-complementary
#418F1F #351F8F #8F1F79
monochromatic
#132A09 #2A5D14 #418F1F #58C12A #79D94F
Accessibility & contrast
On white
4.06
#418F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#418F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #418F1F
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##418F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##418F1F | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#3A8A7A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #418f1f; /* rgb */ color: rgb(65, 143, 31); /* oklch */ color: oklch(57.9% 0.163 138.3);
Tailwind
colors: {
custom: {
50: '#7eb064',
500: '#418f1f',
950: '#000000',
},
}SCSS
$custom: #418f1f; $custom-light: #7eb064; $custom-dark: #000000;
JSON
{
"hex": "#418f1f",
"rgb": {
"r": 65,
"g": 143,
"b": 31
},
"hsl": {
"h": 101.786,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.57855,
"c": 0.16301,
"h": 138.3
},
"luminance": 0.20868
}Semantic roles & 50–950 ramp
primary
#418F1F
secondary
#9B4EBC
accent
#40E7B5
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A