#417B2B#417B2B
#417B2B is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.5% C 0.128 H 138.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #417B2B |
|---|---|
| RGB | rgb(65, 123, 43) |
| HSL | hsl(104, 48%, 33%) |
| HSV | hsv(104, 65%, 48%) |
| CMYK | cmyk(47.2%, 0%, 65%, 51.8%) |
| CIE-LAB | lab(46.26, -34.73, 36.90) |
| CIE-LCH | lch(46.26, 50.67, 133.26°) |
| OKLab | oklab(52.51% -0.0957 0.0857) |
| OKLCH | oklch(52.51% 0.128 138.2) |
| XYZ | xyz(9.6987, 15.4635, 4.7587) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.40
Darkish Green
#287C37
ΔE00 4.38
Dark Grass Green
#388004
ΔE00 4.58
Green
#008000
ΔE00 5.79
Forestgreen (CSS)
#228B22
ΔE00 6.55
Avocado
#568203
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417B2B #652B7B
analogous
#697B2B #417B2B #2B7B3D
triadic
#417B2B #2B417B #7B2B41
tetradic
#417B2B #2B697B #652B7B #7B3D2B
square
#417B2B #2B697B #652B7B #7B3D2B
split-complementary
#417B2B #3D2B7B #7B2B69
monochromatic
#11200B #294E1B #417B2B #59A83B #78C65B
Accessibility & contrast
On white
5.13
#417B2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#417B2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417B2B
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417B2B | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7122
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#3D776A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #417b2b; /* rgb */ color: rgb(65, 123, 43); /* oklch */ color: oklch(52.5% 0.128 138.2);
Tailwind
colors: {
custom: {
50: '#7ba268',
500: '#417b2b',
950: '#000000',
},
}SCSS
$custom: #417b2b; $custom-light: #7ba268; $custom-dark: #000000;
JSON
{
"hex": "#417b2b",
"rgb": {
"r": 65,
"g": 123,
"b": 43
},
"hsl": {
"h": 103.5,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.52506,
"c": 0.12844,
"h": 138.2
},
"luminance": 0.15464
}Semantic roles & 50–950 ramp
primary
#417B2B
secondary
#9456AB
accent
#50D8B2
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A