#417A2A#417A2A
#417A2A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.2% C 0.128 H 137.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #417A2A |
|---|---|
| RGB | rgb(65, 122, 42) |
| HSL | hsl(103, 49%, 32%) |
| HSV | hsv(103, 66%, 48%) |
| CMYK | cmyk(46.7%, 0%, 65.6%, 52.2%) |
| CIE-LAB | lab(45.92, -34.39, 36.99) |
| CIE-LCH | lch(45.92, 50.51, 132.91°) |
| OKLab | oklab(52.22% -0.0949 0.0857) |
| OKLCH | oklch(52.22% 0.128 137.9) |
| XYZ | xyz(9.5571, 15.2094, 4.6222) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.50
Darkish Green
#287C37
ΔE00 4.51
Dark Grass Green
#388004
ΔE00 4.66
Green
#008000
ΔE00 5.88
Forestgreen (CSS)
#228B22
ΔE00 6.85
Avocado
#568203
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417A2A #632A7A
analogous
#697A2A #417A2A #2A7A3B
triadic
#417A2A #2A417A #7A2A41
tetradic
#417A2A #2A697A #632A7A #7A3B2A
square
#417A2A #2A697A #632A7A #7A3B2A
split-complementary
#417A2A #3B2A7A #7A2A69
monochromatic
#101F0B #294C1A #417A2A #59A83A #78C659
Accessibility & contrast
On white
5.20
#417A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#417A2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417A2A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417A2A | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#3D7669
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #417a2a; /* rgb */ color: rgb(65, 122, 42); /* oklch */ color: oklch(52.2% 0.128 137.9);
Tailwind
colors: {
custom: {
50: '#7ba167',
500: '#417a2a',
950: '#000000',
},
}SCSS
$custom: #417a2a; $custom-light: #7ba167; $custom-dark: #000000;
JSON
{
"hex": "#417a2a",
"rgb": {
"r": 65,
"g": 122,
"b": 42
},
"hsl": {
"h": 102.75,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.52222,
"c": 0.12786,
"h": 137.9
},
"luminance": 0.1521
}Semantic roles & 50–950 ramp
primary
#417A2A
secondary
#9255AB
accent
#4FD8B1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A