#517845#517845
#517845 is a mid, moderate green. Relative luminance 0.156; OKLCH L 53.0% C 0.088 H 138.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #517845 |
|---|---|
| RGB | rgb(81, 120, 69) |
| HSL | hsl(106, 27%, 37%) |
| HSV | hsv(106, 43%, 47%) |
| CMYK | cmyk(32.5%, 0%, 42.5%, 52.9%) |
| CIE-LAB | lab(46.46, -24.22, 23.74) |
| CIE-LCH | lch(46.46, 33.91, 135.57°) |
| OKLab | oklab(53% -0.0662 0.0584) |
| OKLCH | oklch(53% 0.088 138.6) |
| XYZ | xyz(11.1836, 15.6115, 8.0531) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sage
#598556
ΔE00 5.18
Military Green
#667C3E
ΔE00 5.91
Darkish Green
#287C37
ΔE00 6.52
Darkolivegreen
#556B2F
ΔE00 6.55
Muddy Green
#657432
ΔE00 7.71
Swamp
#698339
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517845 #6C4578
analogous
#6B7845 #517845 #457853
triadic
#517845 #455178 #784551
tetradic
#517845 #456B78 #6C4578 #785345
square
#517845 #456B78 #6C4578 #785345
split-complementary
#517845 #534578 #78456B
monochromatic
#1D2A18 #37512F #517845 #6B9F5B #8EB681
Accessibility & contrast
On white
5.09
#517845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#517845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #517845
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##517845 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7041
Deuteranopia (green-blind)
#756D48
Tritanopia (blue-blind)
#4F756B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #517845; /* rgb */ color: rgb(81, 120, 69); /* oklch */ color: oklch(53.0% 0.088 138.6);
Tailwind
colors: {
custom: {
50: '#839f79',
500: '#517845',
950: '#000000',
},
}SCSS
$custom: #517845; $custom-light: #839f79; $custom-dark: #000000;
JSON
{
"hex": "#517845",
"rgb": {
"r": 81,
"g": 120,
"b": 69
},
"hsl": {
"h": 105.882,
"s": 26.984,
"l": 37.059
},
"oklch": {
"l": 0.53004,
"c": 0.0883,
"h": 138.6
},
"luminance": 0.15612
}Semantic roles & 50–950 ramp
primary
#517845
secondary
#9877A2
accent
#64C3AD
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0E09
muted
#7C7E7B