#517A17#517A17

#517A17 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.0% C 0.132 H 130.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#517A17
RGBrgb(81, 122, 23)
HSLhsl(85, 68%, 28%)
HSVhsv(85, 81%, 48%)
CMYKcmyk(33.6%, 0%, 81.1%, 52.2%)
CIE-LABlab(46.62, -29.94, 45.65)
CIE-LCHlch(46.62, 54.59, 123.26°)
OKLaboklab(52.97% -0.0853 0.1008)
OKLCHoklch(52.97% 0.132 130.2)
XYZxyz(10.5075, 15.7299, 3.2930)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A17 #40177A
analogous
#7A7117 #517A17 #207A17
triadic
#517A17 #17517A #7A1751
tetradic
#517A17 #177A71 #40177A #7A1720
square
#517A17 #177A71 #40177A #7A1720
split-complementary
#517A17 #17207A #71177A
monochromatic
#111A05 #2F470D #517A17 #73AD21 #94D933

Accessibility & contrast

On white

5.07
#517A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#517A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517A17
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517A17#FFFFFF#000000##FFFFFF
##517A171.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#537468
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #517a17;
/* rgb */ color: rgb(81, 122, 23);
/* oklch */ color: oklch(53.0% 0.132 130.2);
Tailwind
colors: {
  custom: {
    50: '#86a05d',
    500: '#517a17',
    950: '#000000',
  },
}
SCSS
$custom: #517a17;
$custom-light: #86a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#517a17",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 84.848,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52974,
    "c": 0.1321,
    "h": 130.2
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#517A17
secondary
#6D3EAF
accent
#3DEB85
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #517A17

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#517A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva