#417F2F#417F2F
#417F2F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.131 H 139.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #417F2F |
|---|---|
| RGB | rgb(65, 127, 47) |
| HSL | hsl(107, 46%, 34%) |
| HSV | hsv(107, 63%, 50%) |
| CMYK | cmyk(48.8%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(47.63, -36.04, 36.54) |
| CIE-LCH | lch(47.63, 51.32, 134.61°) |
| OKLab | oklab(53.64% -0.099 0.0853) |
| OKLCH | oklch(53.64% 0.131 139.2) |
| XYZ | xyz(10.2820, 16.5071, 5.3332) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.37
Darkish Green
#287C37
ΔE00 4.18
Dark Grass Green
#388004
ΔE00 4.56
Forestgreen (CSS)
#228B22
ΔE00 5.40
Green
#008000
ΔE00 5.65
Fern Green
#548D44
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417F2F #6D2F7F
analogous
#697F2F #417F2F #2F7F45
triadic
#417F2F #2F417F #7F2F41
tetradic
#417F2F #2F697F #6D2F7F #7F452F
square
#417F2F #2F697F #6D2F7F #7F452F
split-complementary
#417F2F #452F7F #7F2F69
monochromatic
#13260E #2A521E #417F2F #58AC40 #79C563
Accessibility & contrast
On white
4.88
#417F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#417F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417F2F
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417F2F | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837426
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#3C7B6E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #417f2f; /* rgb */ color: rgb(65, 127, 47); /* oklch */ color: oklch(53.6% 0.131 139.2);
Tailwind
colors: {
custom: {
50: '#7ba56b',
500: '#417f2f',
950: '#000000',
},
}SCSS
$custom: #417f2f; $custom-light: #7ba56b; $custom-dark: #000000;
JSON
{
"hex": "#417f2f",
"rgb": {
"r": 65,
"g": 127,
"b": 47
},
"hsl": {
"h": 106.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53643,
"c": 0.13069,
"h": 139.2
},
"luminance": 0.16508
}Semantic roles & 50–950 ramp
primary
#417F2F
secondary
#9B5EAC
accent
#52D6B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A