#517D1B#517D1B
#517D1B is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.134 H 131.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #517D1B |
|---|---|
| RGB | rgb(81, 125, 27) |
| HSL | hsl(87, 64%, 30%) |
| HSV | hsv(87, 78%, 49%) |
| CMYK | cmyk(35.2%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(47.62, -31.11, 45.23) |
| CIE-LCH | lch(47.62, 54.89, 124.52°) |
| OKLab | oklab(53.8% -0.0882 0.1006) |
| OKLCH | oklch(53.8% 0.134 131.2) |
| XYZ | xyz(10.9247, 16.4953, 3.6450) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.09
Dark Grass Green
#388004
ΔE00 3.93
Dirty Green
#667E2C
ΔE00 4.43
Sap Green
#5C8B15
ΔE00 5.53
Swamp
#698339
ΔE00 5.61
Tree Green
#2A7E19
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517D1B #471B7D
analogous
#7D781B #517D1B #207D1B
triadic
#517D1B #1B517D #7D1B51
tetradic
#517D1B #1B7D78 #471B7D #7D1B20
square
#517D1B #1B7D78 #471B7D #7D1B20
split-complementary
#517D1B #1B207D #781B7D
monochromatic
#101905 #304B10 #517D1B #72AF26 #91D53D
Accessibility & contrast
On white
4.88
#517D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#517D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #517D1B
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##517D1B | 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)
#837304
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#53776A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #517d1b; /* rgb */ color: rgb(81, 125, 27); /* oklch */ color: oklch(53.8% 0.134 131.2);
Tailwind
colors: {
custom: {
50: '#86a360',
500: '#517d1b',
950: '#000000',
},
}SCSS
$custom: #517d1b; $custom-light: #86a360; $custom-dark: #000000;
JSON
{
"hex": "#517d1b",
"rgb": {
"r": 81,
"g": 125,
"b": 27
},
"hsl": {
"h": 86.939,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.53797,
"c": 0.1338,
"h": 131.2
},
"luminance": 0.16496
}Semantic roles & 50–950 ramp
primary
#517D1B
secondary
#7443B1
accent
#40E78B
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0C0F05
muted
#7D7F79