#517B16#517B16

#517B16 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.134 H 130.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#517B16
RGBrgb(81, 123, 22)
HSLhsl(85, 70%, 28%)
HSVhsv(85, 82%, 48%)
CMYKcmyk(34.1%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.94, -30.46, 46.27)
CIE-LCHlch(46.94, 55.39, 123.35°)
OKLaboklab(53.23% -0.0868 0.102)
OKLCHoklch(53.23% 0.134 130.4)
XYZxyz(10.6211, 15.9728, 3.2824)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B16 #40167B
analogous
#7B7216 #517B16 #1F7B16
triadic
#517B16 #16517B #7B1651
tetradic
#517B16 #167B72 #40167B #7B161F
square
#517B16 #167B72 #40167B #7B161F
split-complementary
#517B16 #161F7B #72167B
monochromatic
#111A05 #2F470D #517B16 #73AF1F #94DA31

Accessibility & contrast

On white

5.01
#517B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#517B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517B16
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B16#FFFFFF#000000##FFFFFF
##517B161.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#537568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517b16;
/* rgb */ color: rgb(81, 123, 22);
/* oklch */ color: oklch(53.2% 0.134 130.4);
Tailwind
colors: {
  custom: {
    50: '#86a15d',
    500: '#517b16',
    950: '#000000',
  },
}
SCSS
$custom: #517b16;
$custom-light: #86a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#517b16",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 84.95,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53234,
    "c": 0.13392,
    "h": 130.4
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#517B16
secondary
#6D3DB0
accent
#3BEC85
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #517B16

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

Preview Lab → · Contrast checker → · Palette generator →

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