#417C2F#417C2F
#417C2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.8% C 0.126 H 139.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #417C2F |
|---|---|
| RGB | rgb(65, 124, 47) |
| HSL | hsl(106, 45%, 34%) |
| HSV | hsv(106, 62%, 49%) |
| CMYK | cmyk(47.6%, 0%, 62.1%, 51.4%) |
| CIE-LAB | lab(46.64, -34.73, 35.40) |
| CIE-LCH | lch(46.64, 49.59, 134.45°) |
| OKLab | oklab(52.83% -0.0954 0.0829) |
| OKLCH | oklch(52.83% 0.126 139) |
| XYZ | xyz(9.9004, 15.7437, 5.2059) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.65
Darkish Green
#287C37
ΔE00 3.92
Dark Grass Green
#388004
ΔE00 5.02
Green
#008000
ΔE00 6.02
Forestgreen (CSS)
#228B22
ΔE00 6.39
Fern Green
#548D44
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417C2F #6A2F7C
analogous
#677C2F #417C2F #2F7C43
triadic
#417C2F #2F417C #7C2F41
tetradic
#417C2F #2F677C #6A2F7C #7C432F
square
#417C2F #2F677C #6A2F7C #7C432F
split-complementary
#417C2F #432F7C #7C2F67
monochromatic
#12230D #2A501E #417C2F #58A840 #79C362
Accessibility & contrast
On white
5.06
#417C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#417C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417C2F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417C2F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#3C786B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #417c2f; /* rgb */ color: rgb(65, 124, 47); /* oklch */ color: oklch(52.8% 0.126 139.0);
Tailwind
colors: {
custom: {
50: '#7ba26a',
500: '#417c2f',
950: '#000000',
},
}SCSS
$custom: #417c2f; $custom-light: #7ba26a; $custom-dark: #000000;
JSON
{
"hex": "#417c2f",
"rgb": {
"r": 65,
"g": 124,
"b": 47
},
"hsl": {
"h": 105.974,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.52826,
"c": 0.1264,
"h": 139
},
"luminance": 0.15744
}Semantic roles & 50–950 ramp
primary
#417C2F
secondary
#985CAA
accent
#53D5B6
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F07
muted
#7C7F7A