#417D2F#417D2F
#417D2F is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.1% C 0.128 H 139.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #417D2F |
|---|---|
| RGB | rgb(65, 125, 47) |
| HSL | hsl(106, 45%, 34%) |
| HSV | hsv(106, 62%, 49%) |
| CMYK | cmyk(48%, 0%, 62.4%, 51%) |
| CIE-LAB | lab(46.97, -35.17, 35.78) |
| CIE-LCH | lch(46.97, 50.17, 134.50°) |
| OKLab | oklab(53.1% -0.0966 0.0837) |
| OKLCH | oklch(53.1% 0.128 139.1) |
| XYZ | xyz(10.0263, 15.9956, 5.2479) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.52
Darkish Green
#287C37
ΔE00 3.97
Dark Grass Green
#388004
ΔE00 4.84
Green
#008000
ΔE00 5.88
Forestgreen (CSS)
#228B22
ΔE00 6.05
Fern Green
#548D44
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417D2F #6B2F7D
analogous
#687D2F #417D2F #2F7D44
triadic
#417D2F #2F417D #7D2F41
tetradic
#417D2F #2F687D #6B2F7D #7D442F
square
#417D2F #2F687D #6B2F7D #7D442F
split-complementary
#417D2F #442F7D #7D2F68
monochromatic
#13240E #2A511E #417D2F #58A940 #79C462
Accessibility & contrast
On white
5.00
#417D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#417D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417D2F
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417D2F | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#3C796C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #417d2f; /* rgb */ color: rgb(65, 125, 47); /* oklch */ color: oklch(53.1% 0.128 139.1);
Tailwind
colors: {
custom: {
50: '#7ba36b',
500: '#417d2f',
950: '#000000',
},
}SCSS
$custom: #417d2f; $custom-light: #7ba36b; $custom-dark: #000000;
JSON
{
"hex": "#417d2f",
"rgb": {
"r": 65,
"g": 125,
"b": 47
},
"hsl": {
"h": 106.154,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.53098,
"c": 0.12784,
"h": 139.1
},
"luminance": 0.15996
}Semantic roles & 50–950 ramp
primary
#417D2F
secondary
#995DAB
accent
#53D5B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A