#517A19#517A19

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

Color values

HEX#517A19
RGBrgb(81, 122, 25)
HSLhsl(85, 66%, 29%)
HSVhsv(85, 80%, 48%)
CMYKcmyk(33.6%, 0%, 79.5%, 52.2%)
CIE-LABlab(46.63, -29.82, 44.99)
CIE-LCHlch(46.63, 53.97, 123.54°)
OKLaboklab(52.99% -0.0849 0.0998)
OKLCHoklch(52.99% 0.131 130.4)
XYZxyz(10.5283, 15.7382, 3.4026)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A19 #42197A
analogous
#7A7319 #517A19 #217A19
triadic
#517A19 #19517A #7A1951
tetradic
#517A19 #197A73 #42197A #7A1921
square
#517A19 #197A73 #42197A #7A1921
split-complementary
#517A19 #19217A #73197A
monochromatic
#111905 #2F470F #517A19 #73AD23 #93D637

Accessibility & contrast

On white

5.06
#517A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #517A19
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517A19#FFFFFF#000000##FFFFFF
##517A191.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517a19;
/* rgb */ color: rgb(81, 122, 25);
/* oklch */ color: oklch(53.0% 0.131 130.4);
Tailwind
colors: {
  custom: {
    50: '#86a05e',
    500: '#517a19',
    950: '#000000',
  },
}
SCSS
$custom: #517a19;
$custom-light: #86a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#517a19",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 85.361,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.131,
    "h": 130.4
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#517A19
secondary
#6F40AF
accent
#3FE987
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #517A19

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

Preview Lab → · Contrast checker → · Palette generator →

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