#417A2B#417A2B
#417A2B is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.2% C 0.127 H 138.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #417A2B |
|---|---|
| RGB | rgb(65, 122, 43) |
| HSL | hsl(103, 48%, 32%) |
| HSV | hsv(103, 65%, 48%) |
| CMYK | cmyk(46.7%, 0%, 64.8%, 52.2%) |
| CIE-LAB | lab(45.93, -34.29, 36.53) |
| CIE-LCH | lch(45.93, 50.10, 133.19°) |
| OKLab | oklab(52.23% -0.0945 0.0849) |
| OKLCH | oklch(52.23% 0.127 138.1) |
| XYZ | xyz(9.5752, 15.2167, 4.7176) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.59
Darkish Green
#287C37
ΔE00 4.39
Dark Grass Green
#388004
ΔE00 4.80
Green
#008000
ΔE00 5.97
Forestgreen (CSS)
#228B22
ΔE00 6.89
Avocado
#568203
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417A2B #642B7A
analogous
#697A2B #417A2B #2B7A3C
triadic
#417A2B #2B417A #7A2B41
tetradic
#417A2B #2B697A #642B7A #7A3C2B
square
#417A2B #2B697A #642B7A #7A3C2B
split-complementary
#417A2B #3C2B7A #7A2B69
monochromatic
#111F0B #294D1B #417A2B #59A73B #78C55A
Accessibility & contrast
On white
5.19
#417A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#417A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417A2B
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417A2B | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#3D7669
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #417a2b; /* rgb */ color: rgb(65, 122, 43); /* oklch */ color: oklch(52.2% 0.127 138.1);
Tailwind
colors: {
custom: {
50: '#7aa168',
500: '#417a2b',
950: '#000000',
},
}SCSS
$custom: #417a2b; $custom-light: #7aa168; $custom-dark: #000000;
JSON
{
"hex": "#417a2b",
"rgb": {
"r": 65,
"g": 122,
"b": 43
},
"hsl": {
"h": 103.291,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.52233,
"c": 0.12702,
"h": 138.1
},
"luminance": 0.15217
}Semantic roles & 50–950 ramp
primary
#417A2B
secondary
#9356AB
accent
#50D7B2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A