#517A1E#517A1E
#517A1E is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.128 H 130.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #517A1E |
|---|---|
| RGB | rgb(81, 122, 30) |
| HSL | hsl(87, 61%, 30%) |
| HSV | hsv(87, 75%, 48%) |
| CMYK | cmyk(33.6%, 0%, 75.4%, 52.2%) |
| CIE-LAB | lab(46.66, -29.51, 43.18) |
| CIE-LCH | lch(46.66, 52.30, 124.35°) |
| OKLab | oklab(53.02% -0.0836 0.0968) |
| OKLCH | oklch(53.02% 0.128 130.8) |
| XYZ | xyz(10.5871, 15.7618, 3.7126) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 4.13
Dirty Green
#667E2C
ΔE00 4.43
Dark Grass Green
#388004
ΔE00 4.59
Swamp
#698339
ΔE00 5.81
Tree Green
#2A7E19
ΔE00 5.82
Military Green
#667C3E
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#517A1E #471E7A
analogous
#7A751E #517A1E #237A1E
triadic
#517A1E #1E517A #7A1E51
tetradic
#517A1E #1E7A75 #471E7A #7A1E23
square
#517A1E #1E7A75 #471E7A #7A1E23
split-complementary
#517A1E #1E237A #751E7A
monochromatic
#101906 #304912 #517A1E #72AB2A #91D042
Accessibility & contrast
On white
5.06
#517A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#517A1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #517A1E
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##517A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##517A1E | 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)
#80710D
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#537568
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #517a1e; /* rgb */ color: rgb(81, 122, 30); /* oklch */ color: oklch(53.0% 0.128 130.8);
Tailwind
colors: {
custom: {
50: '#86a061',
500: '#517a1e',
950: '#000000',
},
}SCSS
$custom: #517a1e; $custom-light: #86a061; $custom-dark: #000000;
JSON
{
"hex": "#517a1e",
"rgb": {
"r": 81,
"g": 122,
"b": 30
},
"hsl": {
"h": 86.739,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.53022,
"c": 0.12794,
"h": 130.8
},
"luminance": 0.15762
}Semantic roles & 50–950 ramp
primary
#517A1E
secondary
#7446AE
accent
#44E48B
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79