#417D2B#417D2B
#417D2B is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.1% C 0.131 H 138.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #417D2B |
|---|---|
| RGB | rgb(65, 125, 43) |
| HSL | hsl(104, 49%, 33%) |
| HSV | hsv(104, 66%, 49%) |
| CMYK | cmyk(48%, 0%, 65.6%, 51%) |
| CIE-LAB | lab(46.93, -35.60, 37.64) |
| CIE-LCH | lch(46.93, 51.81, 133.41°) |
| OKLab | oklab(53.05% -0.0981 0.0872) |
| OKLCH | oklch(53.05% 0.131 138.3) |
| XYZ | xyz(9.9493, 15.9648, 4.8423) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.11
Dark Grass Green
#388004
ΔE00 4.19
Darkish Green
#287C37
ΔE00 4.47
Green
#008000
ΔE00 5.49
Forestgreen (CSS)
#228B22
ΔE00 5.88
Fern Green
#548D44
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#417D2B #672B7D
analogous
#6A7D2B #417D2B #2B7D3E
triadic
#417D2B #2B417D #7D2B41
tetradic
#417D2B #2B6A7D #672B7D #7D3E2B
square
#417D2B #2B6A7D #672B7D #7D3E2B
split-complementary
#417D2B #3E2B7D #7D2B6A
monochromatic
#12220C #294F1B #417D2B #59AB3B #78C75C
Accessibility & contrast
On white
5.01
#417D2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#417D2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #417D2B
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##417D2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##417D2B | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817221
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#3D796C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #417d2b; /* rgb */ color: rgb(65, 125, 43); /* oklch */ color: oklch(53.1% 0.131 138.3);
Tailwind
colors: {
custom: {
50: '#7ba368',
500: '#417d2b',
950: '#000000',
},
}SCSS
$custom: #417d2b; $custom-light: #7ba368; $custom-dark: #000000;
JSON
{
"hex": "#417d2b",
"rgb": {
"r": 65,
"g": 125,
"b": 43
},
"hsl": {
"h": 103.902,
"s": 48.81,
"l": 32.941
},
"oklch": {
"l": 0.53052,
"c": 0.13125,
"h": 138.3
},
"luminance": 0.15965
}Semantic roles & 50–950 ramp
primary
#417D2B
secondary
#9657AD
accent
#4FD8B4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A