#417A2F#417A2F
#417A2F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.3% C 0.124 H 138.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #417A2F |
|---|---|
| RGB | rgb(65, 122, 47) |
| HSL | hsl(106, 44%, 33%) |
| HSV | hsv(106, 61%, 48%) |
| CMYK | cmyk(46.7%, 0%, 61.5%, 52.2%) |
| CIE-LAB | lab(45.97, -33.84, 34.64) |
| CIE-LCH | lch(45.97, 48.43, 134.33°) |
| OKLab | oklab(52.28% -0.093 0.0813) |
| OKLCH | oklch(52.28% 0.124 138.9) |
| XYZ | xyz(9.6523, 15.2475, 5.1232) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.91
Tree Green
#2A7E19
ΔE00 4.01
Dark Grass Green
#388004
ΔE00 5.44
Green
#008000
ΔE00 6.37
Forestgreen (CSS)
#228B22
ΔE00 7.07
Jungle Green
#048243
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417A2F #682F7A
analogous
#667A2F #417A2F #2F7A42
triadic
#417A2F #2F417A #7A2F41
tetradic
#417A2F #2F667A #682F7A #7A422F
square
#417A2F #2F667A #682F7A #7A422F
split-complementary
#417A2F #422F7A #7A2F66
monochromatic
#12220D #294E1E #417A2F #59A640 #78C261
Accessibility & contrast
On white
5.19
#417A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#417A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417A2F
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417A2F | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#3D766A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #417a2f; /* rgb */ color: rgb(65, 122, 47); /* oklch */ color: oklch(52.3% 0.124 138.9);
Tailwind
colors: {
custom: {
50: '#7aa16a',
500: '#417a2f',
950: '#000000',
},
}SCSS
$custom: #417a2f; $custom-light: #7aa16a; $custom-dark: #000000;
JSON
{
"hex": "#417a2f",
"rgb": {
"r": 65,
"g": 122,
"b": 47
},
"hsl": {
"h": 105.6,
"s": 44.379,
"l": 33.137
},
"oklch": {
"l": 0.52281,
"c": 0.12351,
"h": 138.9
},
"luminance": 0.15248
}Semantic roles & 50–950 ramp
primary
#417A2F
secondary
#975CA9
accent
#54D4B5
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F07
muted
#7C7E7A