#417E2A#417E2A
#417E2A is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.3% C 0.133 H 138.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #417E2A |
|---|---|
| RGB | rgb(65, 126, 42) |
| HSL | hsl(104, 50%, 33%) |
| HSV | hsv(104, 67%, 49%) |
| CMYK | cmyk(48.4%, 0%, 66.7%, 50.6%) |
| CIE-LAB | lab(47.25, -36.13, 38.45) |
| CIE-LCH | lch(47.25, 52.77, 133.22°) |
| OKLab | oklab(53.31% -0.0996 0.0888) |
| OKLCH | oklch(53.31% 0.133 138.3) |
| XYZ | xyz(10.0584, 16.2120, 4.7893) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.95
Dark Grass Green
#388004
ΔE00 3.88
Darkish Green
#287C37
ΔE00 4.68
Green
#008000
ΔE00 5.29
Forestgreen (CSS)
#228B22
ΔE00 5.52
Fern Green
#548D44
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417E2A #672A7E
analogous
#6B7E2A #417E2A #2A7E3D
triadic
#417E2A #2A417E #7E2A41
tetradic
#417E2A #2A6B7E #672A7E #7E3D2A
square
#417E2A #2A6B7E #672A7E #7E3D2A
split-complementary
#417E2A #3D2A7E #7E2A6B
monochromatic
#12220B #29501B #417E2A #59AC39 #78C85A
Accessibility & contrast
On white
4.95
#417E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#417E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417E2A
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417E2A | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827320
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#3D7A6D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #417e2a; /* rgb */ color: rgb(65, 126, 42); /* oklch */ color: oklch(53.3% 0.133 138.3);
Tailwind
colors: {
custom: {
50: '#7ba468',
500: '#417e2a',
950: '#000000',
},
}SCSS
$custom: #417e2a; $custom-light: #7ba468; $custom-dark: #000000;
JSON
{
"hex": "#417e2a",
"rgb": {
"r": 65,
"g": 126,
"b": 42
},
"hsl": {
"h": 103.571,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.53314,
"c": 0.13346,
"h": 138.3
},
"luminance": 0.16213
}Semantic roles & 50–950 ramp
primary
#417E2A
secondary
#9656AE
accent
#4EDAB3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A