#417E2F#417E2F
#417E2F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.4% C 0.129 H 139.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #417E2F |
|---|---|
| RGB | rgb(65, 126, 47) |
| HSL | hsl(106, 46%, 34%) |
| HSV | hsv(106, 63%, 49%) |
| CMYK | cmyk(48.4%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(47.30, -35.60, 36.16) |
| CIE-LCH | lch(47.30, 50.75, 134.56°) |
| OKLab | oklab(53.37% -0.0978 0.0845) |
| OKLCH | oklch(53.37% 0.129 139.2) |
| XYZ | xyz(10.1535, 16.2501, 5.2903) |
| Luminance | 0.1625 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.42
Darkish Green
#287C37
ΔE00 4.06
Dark Grass Green
#388004
ΔE00 4.69
Forestgreen (CSS)
#228B22
ΔE00 5.72
Green
#008000
ΔE00 5.75
Fern Green
#548D44
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417E2F #6C2F7E
analogous
#697E2F #417E2F #2F7E45
triadic
#417E2F #2F417E #7E2F41
tetradic
#417E2F #2F697E #6C2F7E #7E452F
square
#417E2F #2F697E #6C2F7E #7E452F
split-complementary
#417E2F #452F7E #7E2F69
monochromatic
#13250E #2A511E #417E2F #58AB40 #79C563
Accessibility & contrast
On white
4.94
#417E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#417E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417E2F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417E2F | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827326
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#3C7A6D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #417e2f; /* rgb */ color: rgb(65, 126, 47); /* oklch */ color: oklch(53.4% 0.129 139.2);
Tailwind
colors: {
custom: {
50: '#7ba46b',
500: '#417e2f',
950: '#000000',
},
}SCSS
$custom: #417e2f; $custom-light: #7ba46b; $custom-dark: #000000;
JSON
{
"hex": "#417e2f",
"rgb": {
"r": 65,
"g": 126,
"b": 47
},
"hsl": {
"h": 106.329,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.53371,
"c": 0.12926,
"h": 139.2
},
"luminance": 0.16251
}Semantic roles & 50–950 ramp
primary
#417E2F
secondary
#9A5DAC
accent
#52D5B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A