#517A1B#517A1B
#517A1B is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.0% C 0.130 H 130.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #517A1B |
|---|---|
| RGB | rgb(81, 122, 27) |
| HSL | hsl(86, 64%, 29%) |
| HSV | hsv(86, 78%, 48%) |
| CMYK | cmyk(33.6%, 0%, 77.9%, 52.2%) |
| CIE-LAB | lab(46.64, -29.71, 44.29) |
| CIE-LCH | lch(46.64, 53.33, 123.85°) |
| OKLab | oklab(53% -0.0844 0.0987) |
| OKLCH | oklch(53% 0.13 130.5) |
| XYZ | xyz(10.5506, 15.7472, 3.5203) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.86
Dirty Green
#667E2C
ΔE00 4.45
Dark Grass Green
#388004
ΔE00 4.53
Tree Green
#2A7E19
ΔE00 5.92
Swamp
#698339
ΔE00 5.94
Military Green
#667C3E
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517A1B #441B7A
analogous
#7A741B #517A1B #227A1B
triadic
#517A1B #1B517A #7A1B51
tetradic
#517A1B #1B7A74 #441B7A #7A1B22
square
#517A1B #1B7A74 #441B7A #7A1B22
split-complementary
#517A1B #1B227A #741B7A
monochromatic
#111906 #304810 #517A1B #72AC26 #92D43C
Accessibility & contrast
On white
5.06
#517A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#517A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #517A1B
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##517A1B | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807006
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#537568
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #517a1b; /* rgb */ color: rgb(81, 122, 27); /* oklch */ color: oklch(53.0% 0.130 130.5);
Tailwind
colors: {
custom: {
50: '#86a05f',
500: '#517a1b',
950: '#000000',
},
}SCSS
$custom: #517a1b; $custom-light: #86a05f; $custom-dark: #000000;
JSON
{
"hex": "#517a1b",
"rgb": {
"r": 81,
"g": 122,
"b": 27
},
"hsl": {
"h": 85.895,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.53,
"c": 0.12983,
"h": 130.5
},
"luminance": 0.15748
}Semantic roles & 50–950 ramp
primary
#517A1B
secondary
#7143AE
accent
#41E789
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79