#517E16#517E16

#517E16 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.138 H 131.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#517E16
RGBrgb(81, 126, 22)
HSLhsl(86, 70%, 29%)
HSVhsv(86, 83%, 49%)
CMYKcmyk(35.7%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.92, -31.85, 47.17)
CIE-LCHlch(47.92, 56.91, 124.03°)
OKLaboklab(54.03% -0.0905 0.1039)
OKLCHoklch(54.03% 0.138 131.1)
XYZxyz(10.9989, 16.7285, 3.4083)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E16 #43167E
analogous
#7E7716 #517E16 #1D7E16
triadic
#517E16 #16517E #7E1651
tetradic
#517E16 #167E77 #43167E #7E161D
square
#517E16 #167E77 #43167E #7E161D
split-complementary
#517E16 #161D7E #77167E
monochromatic
#111A05 #304A0D #517E16 #72B21F #93DB33

Accessibility & contrast

On white

4.83
#517E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#517E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E16
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E16#FFFFFF#000000##FFFFFF
##517E161.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#53786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e16;
/* rgb */ color: rgb(81, 126, 22);
/* oklch */ color: oklch(54.0% 0.138 131.1);
Tailwind
colors: {
  custom: {
    50: '#86a35d',
    500: '#517e16',
    950: '#000000',
  },
}
SCSS
$custom: #517e16;
$custom-light: #86a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#517e16",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 85.962,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.1378,
    "h": 131.1
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#517E16
secondary
#703DB3
accent
#3BED88
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517E16

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

Preview Lab → · Contrast checker → · Palette generator →

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