#517D1F#517D1F
#517D1F is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.131 H 131.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #517D1F |
|---|---|
| RGB | rgb(81, 125, 31) |
| HSL | hsl(88, 60%, 31%) |
| HSV | hsv(88, 75%, 49%) |
| CMYK | cmyk(35.2%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(47.64, -30.85, 43.77) |
| CIE-LCH | lch(47.64, 53.55, 125.18°) |
| OKLab | oklab(53.83% -0.0872 0.0982) |
| OKLCH | oklch(53.83% 0.131 131.6) |
| XYZ | xyz(10.9742, 16.5151, 3.9056) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.49
Dark Grass Green
#388004
ΔE00 4.02
Dirty Green
#667E2C
ΔE00 4.40
Swamp
#698339
ΔE00 5.43
Tree Green
#2A7E19
ΔE00 5.46
Sap Green
#5C8B15
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517D1F #4B1F7D
analogous
#7D7A1F #517D1F #227D1F
triadic
#517D1F #1F517D #7D1F51
tetradic
#517D1F #1F7D7A #4B1F7D #7D1F22
square
#517D1F #1F7D7A #4B1F7D #7D1F22
split-complementary
#517D1F #1F227D #7A1F7D
monochromatic
#111B07 #314C13 #517D1F #71AE2B #90D145
Accessibility & contrast
On white
4.88
#517D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#517D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #517D1F
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##517D1F | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730E
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#52786B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #517d1f; /* rgb */ color: rgb(81, 125, 31); /* oklch */ color: oklch(53.8% 0.131 131.6);
Tailwind
colors: {
custom: {
50: '#86a361',
500: '#517d1f',
950: '#000000',
},
}SCSS
$custom: #517d1f; $custom-light: #86a361; $custom-dark: #000000;
JSON
{
"hex": "#517d1f",
"rgb": {
"r": 81,
"g": 125,
"b": 31
},
"hsl": {
"h": 88.085,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.53825,
"c": 0.13134,
"h": 131.6
},
"luminance": 0.16515
}Semantic roles & 50–950 ramp
primary
#517D1F
secondary
#7948B0
accent
#44E38F
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0B0F05
muted
#7C7F7A