#517D19#517D19

#517D19 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.135 H 131.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#517D19
RGBrgb(81, 125, 25)
HSLhsl(86, 67%, 29%)
HSVhsv(86, 80%, 49%)
CMYKcmyk(35.2%, 0%, 80%, 51%)
CIE-LABlab(47.61, -31.23, 45.91)
CIE-LCHlch(47.61, 55.52, 124.22°)
OKLaboklab(53.78% -0.0887 0.1017)
OKLCHoklch(53.78% 0.135 131.1)
XYZxyz(10.9023, 16.4863, 3.5273)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D19 #45197D
analogous
#7D7719 #517D19 #1F7D19
triadic
#517D19 #19517D #7D1951
tetradic
#517D19 #197D77 #45197D #7D191F
square
#517D19 #197D77 #45197D #7D191F
split-complementary
#517D19 #191F7D #77197D
monochromatic
#111A05 #304A0F #517D19 #72B023 #92D739

Accessibility & contrast

On white

4.89
#517D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#517D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517D19
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517D19#FFFFFF#000000##FFFFFF
##517D191.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#53776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517d19;
/* rgb */ color: rgb(81, 125, 25);
/* oklch */ color: oklch(53.8% 0.135 131.1);
Tailwind
colors: {
  custom: {
    50: '#86a35f',
    500: '#517d19',
    950: '#000000',
  },
}
SCSS
$custom: #517d19;
$custom-light: #86a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#517d19",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 86.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.13494,
    "h": 131.1
  },
  "luminance": 0.16487
}

Semantic roles & 50–950 ramp

primary
#517D19
secondary
#7240B1
accent
#3EEA8A
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517D19

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

Preview Lab → · Contrast checker → · Palette generator →

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