#417F26#417F26
#417F26 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.5% C 0.138 H 137.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #417F26 |
|---|---|
| RGB | rgb(65, 127, 38) |
| HSL | hsl(102, 54%, 32%) |
| HSV | hsv(102, 70%, 50%) |
| CMYK | cmyk(48.8%, 0%, 70.1%, 50.2%) |
| CIE-LAB | lab(47.55, -36.94, 40.55) |
| CIE-LCH | lch(47.55, 54.86, 132.33°) |
| OKLab | oklab(53.55% -0.1021 0.0928) |
| OKLCH | oklch(53.55% 0.138 137.7) |
| XYZ | xyz(10.1189, 16.4418, 4.4737) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.71
Dark Grass Green
#388004
ΔE00 3.16
Green
#008000
ΔE00 4.93
Forestgreen (CSS)
#228B22
ΔE00 5.14
Darkish Green
#287C37
ΔE00 5.30
Avocado
#568203
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417F26 #64267F
analogous
#6D7F26 #417F26 #267F38
triadic
#417F26 #26417F #7F2641
tetradic
#417F26 #266D7F #64267F #7F3826
square
#417F26 #266D7F #64267F #7F3826
split-complementary
#417F26 #38267F #7F266D
monochromatic
#11210A #295018 #417F26 #59AE34 #78CC54
Accessibility & contrast
On white
4.90
#417F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#417F26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417F26
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417F26 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#3D7A6D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #417f26; /* rgb */ color: rgb(65, 127, 38); /* oklch */ color: oklch(53.5% 0.138 137.7);
Tailwind
colors: {
custom: {
50: '#7ba565',
500: '#417f26',
950: '#000000',
},
}SCSS
$custom: #417f26; $custom-light: #7ba565; $custom-dark: #000000;
JSON
{
"hex": "#417f26",
"rgb": {
"r": 65,
"g": 127,
"b": 38
},
"hsl": {
"h": 101.798,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.53547,
"c": 0.13792,
"h": 137.7
},
"luminance": 0.16443
}Semantic roles & 50–950 ramp
primary
#417F26
secondary
#9351B0
accent
#4ADDB1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A