#517D16#517D16

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

Color values

HEX#517D16
RGBrgb(81, 125, 22)
HSLhsl(86, 70%, 29%)
HSVhsv(86, 82%, 49%)
CMYKcmyk(35.2%, 0%, 82.4%, 51%)
CIE-LABlab(47.59, -31.39, 46.87)
CIE-LCHlch(47.59, 56.41, 123.81°)
OKLaboklab(53.77% -0.0893 0.1032)
OKLCHoklch(53.77% 0.137 130.9)
XYZxyz(10.8717, 16.4741, 3.3659)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D16 #42167D
analogous
#7D7616 #517D16 #1E7D16
triadic
#517D16 #16517D #7D1651
tetradic
#517D16 #167D76 #42167D #7D161E
square
#517D16 #167D76 #42167D #7D161E
split-complementary
#517D16 #161E7D #76167D
monochromatic
#111A05 #2F490D #517D16 #73B11F #93DB32

Accessibility & contrast

On white

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

On black

4.29
#517D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##517D16#FFFFFF#000000##FFFFFF
##517D161.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517d16;
/* rgb */ color: rgb(81, 125, 22);
/* oklch */ color: oklch(53.8% 0.137 130.9);
Tailwind
colors: {
  custom: {
    50: '#86a35d',
    500: '#517d16',
    950: '#000000',
  },
}
SCSS
$custom: #517d16;
$custom-light: #86a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#517d16",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 85.631,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53766,
    "c": 0.13651,
    "h": 130.9
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#517D16
secondary
#6F3DB2
accent
#3BED87
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517D16

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

Preview Lab → · Contrast checker → · Palette generator →

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