#517E19#517E19
#517E19 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.136 H 131.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #517E19 |
|---|---|
| RGB | rgb(81, 126, 25) |
| HSL | hsl(87, 67%, 30%) |
| HSV | hsv(87, 80%, 49%) |
| CMYK | cmyk(35.7%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(47.93, -31.69, 46.22) |
| CIE-LCH | lch(47.93, 56.04, 124.44°) |
| OKLab | oklab(54.05% -0.0899 0.1024) |
| OKLCH | oklch(54.05% 0.136 131.3) |
| XYZ | xyz(11.0296, 16.7408, 3.5697) |
| Luminance | 0.1674 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.69
Dark Grass Green
#388004
ΔE00 3.77
Dirty Green
#667E2C
ΔE00 4.51
Sap Green
#5C8B15
ΔE00 5.12
Mossy Green
#638B27
ΔE00 5.38
Swamp
#698339
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517E19 #46197E
analogous
#7E7919 #517E19 #1E7E19
triadic
#517E19 #19517E #7E1951
tetradic
#517E19 #197E79 #46197E #7E191E
square
#517E19 #197E79 #46197E #7E191E
split-complementary
#517E19 #191E7E #79197E
monochromatic
#101A05 #304B0F #517E19 #72B123 #91D83A
Accessibility & contrast
On white
4.83
#517E19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#517E19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #517E19
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517E19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##517E19 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#53786B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #517e19; /* rgb */ color: rgb(81, 126, 25); /* oklch */ color: oklch(54.0% 0.136 131.3);
Tailwind
colors: {
custom: {
50: '#86a35f',
500: '#517e19',
950: '#000000',
},
}SCSS
$custom: #517e19; $custom-light: #86a35f; $custom-dark: #000000;
JSON
{
"hex": "#517e19",
"rgb": {
"r": 81,
"g": 126,
"b": 25
},
"hsl": {
"h": 86.733,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.54049,
"c": 0.13625,
"h": 131.3
},
"luminance": 0.16741
}Semantic roles & 50–950 ramp
primary
#517E19
secondary
#7341B2
accent
#3EEA8B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79