#517E10#517E10
#517E10 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.140 H 130.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #517E10 |
|---|---|
| RGB | rgb(81, 126, 16) |
| HSL | hsl(85, 77%, 28%) |
| HSV | hsv(85, 87%, 49%) |
| CMYK | cmyk(35.7%, 0%, 87.3%, 50.6%) |
| CIE-LAB | lab(47.89, -32.11, 48.83) |
| CIE-LCH | lch(47.89, 58.45, 123.33°) |
| OKLab | oklab(54% -0.0916 0.1064) |
| OKLCH | oklch(54% 0.14 130.7) |
| XYZ | xyz(10.9477, 16.7080, 3.1383) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.06
Dark Grass Green
#388004
ΔE00 3.85
Dirty Green
#667E2C
ΔE00 4.72
Sap Green
#5C8B15
ΔE00 4.93
Mossy Green
#638B27
ΔE00 5.43
Olive Green
#677A04
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517E10 #3D107E
analogous
#7E7410 #517E10 #1A7E10
triadic
#517E10 #10517E #7E1051
tetradic
#517E10 #107E74 #3D107E #7E101A
square
#517E10 #107E74 #3D107E #7E101A
split-complementary
#517E10 #101A7E #74107E
monochromatic
#111B03 #2E4809 #517E10 #74B417 #95E325
Accessibility & contrast
On white
4.84
#517E10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#517E10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #517E10
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517E10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##517E10 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#53786B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #517e10; /* rgb */ color: rgb(81, 126, 16); /* oklch */ color: oklch(54.0% 0.140 130.7);
Tailwind
colors: {
custom: {
50: '#87a35b',
500: '#517e10',
950: '#000000',
},
}SCSS
$custom: #517e10; $custom-light: #87a35b; $custom-dark: #000000;
JSON
{
"hex": "#517e10",
"rgb": {
"r": 81,
"g": 126,
"b": 16
},
"hsl": {
"h": 84.545,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.54002,
"c": 0.14045,
"h": 130.7
},
"luminance": 0.16708
}Semantic roles & 50–950 ramp
primary
#517E10
secondary
#6936B4
accent
#34F482
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79