#417E23#417E23
#417E23 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.139 H 137.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #417E23 |
|---|---|
| RGB | rgb(65, 126, 35) |
| HSL | hsl(100, 57%, 32%) |
| HSV | hsv(100, 72%, 49%) |
| CMYK | cmyk(48.4%, 0%, 72.2%, 50.6%) |
| CIE-LAB | lab(47.19, -36.78, 41.45) |
| CIE-LCH | lch(47.19, 55.41, 131.58°) |
| OKLab | oklab(53.25% -0.1018 0.0942) |
| OKLCH | oklch(53.25% 0.139 137.2) |
| XYZ | xyz(9.9439, 16.1662, 4.1862) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.65
Dark Grass Green
#388004
ΔE00 2.89
Green
#008000
ΔE00 4.86
Forestgreen (CSS)
#228B22
ΔE00 5.45
Darkish Green
#287C37
ΔE00 5.56
Avocado
#568203
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417E23 #60237E
analogous
#6F7E23 #417E23 #237E33
triadic
#417E23 #23417E #7E2341
tetradic
#417E23 #236F7E #60237E #7E3323
square
#417E23 #236F7E #60237E #7E3323
split-complementary
#417E23 #33237E #7E236F
monochromatic
#101E08 #284E16 #417E23 #5AAE30 #78CE4E
Accessibility & contrast
On white
4.96
#417E23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#417E23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417E23
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417E23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417E23 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#3D796C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #417e23; /* rgb */ color: rgb(65, 126, 35); /* oklch */ color: oklch(53.2% 0.139 137.2);
Tailwind
colors: {
custom: {
50: '#7ba464',
500: '#417e23',
950: '#000000',
},
}SCSS
$custom: #417e23; $custom-light: #7ba464; $custom-dark: #000000;
JSON
{
"hex": "#417e23",
"rgb": {
"r": 65,
"g": 126,
"b": 35
},
"hsl": {
"h": 100.22,
"s": 56.522,
"l": 31.569
},
"oklch": {
"l": 0.53246,
"c": 0.13875,
"h": 137.2
},
"luminance": 0.16167
}Semantic roles & 50–950 ramp
primary
#417E23
secondary
#8F4CB0
accent
#48E0AE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A