#517A1C#517A1C
#517A1C is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.129 H 130.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #517A1C |
|---|---|
| RGB | rgb(81, 122, 28) |
| HSL | hsl(86, 63%, 29%) |
| HSV | hsv(86, 77%, 48%) |
| CMYK | cmyk(33.6%, 0%, 77%, 52.2%) |
| CIE-LAB | lab(46.65, -29.64, 43.93) |
| CIE-LCH | lch(46.65, 52.99, 124.01°) |
| OKLab | oklab(53.01% -0.0841 0.0981) |
| OKLCH | oklch(53.01% 0.129 130.6) |
| XYZ | xyz(10.5624, 15.7519, 3.5823) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 3.95
Dirty Green
#667E2C
ΔE00 4.44
Dark Grass Green
#388004
ΔE00 4.54
Tree Green
#2A7E19
ΔE00 5.89
Swamp
#698339
ΔE00 5.89
Military Green
#667C3E
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517A1C #451C7A
analogous
#7A741C #517A1C #227A1C
triadic
#517A1C #1C517A #7A1C51
tetradic
#517A1C #1C7A74 #451C7A #7A1C22
square
#517A1C #1C7A74 #451C7A #7A1C22
split-complementary
#517A1C #1C227A #741C7A
monochromatic
#111906 #304811 #517A1C #72AC27 #92D33E
Accessibility & contrast
On white
5.06
#517A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#517A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #517A1C
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##517A1C | 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)
#807108
Deuteranopia (green-blind)
#7A6E25
Tritanopia (blue-blind)
#537568
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #517a1c; /* rgb */ color: rgb(81, 122, 28); /* oklch */ color: oklch(53.0% 0.129 130.6);
Tailwind
colors: {
custom: {
50: '#86a060',
500: '#517a1c',
950: '#000000',
},
}SCSS
$custom: #517a1c; $custom-light: #86a060; $custom-dark: #000000;
JSON
{
"hex": "#517a1c",
"rgb": {
"r": 81,
"g": 122,
"b": 28
},
"hsl": {
"h": 86.17,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.53007,
"c": 0.12922,
"h": 130.6
},
"luminance": 0.15752
}Semantic roles & 50–950 ramp
primary
#517A1C
secondary
#7244AE
accent
#42E689
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79