#517B17#517B17

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

Color values

HEX#517B17
RGBrgb(81, 123, 23)
HSLhsl(85, 68%, 29%)
HSVhsv(85, 81%, 48%)
CMYKcmyk(34.1%, 0%, 81.3%, 51.8%)
CIE-LABlab(46.94, -30.40, 45.95)
CIE-LCHlch(46.94, 55.10, 123.49°)
OKLaboklab(53.24% -0.0866 0.1015)
OKLCHoklch(53.24% 0.133 130.5)
XYZxyz(10.6309, 15.9767, 3.3341)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B17 #41177B
analogous
#7B7317 #517B17 #1F7B17
triadic
#517B17 #17517B #7B1751
tetradic
#517B17 #177B73 #41177B #7B171F
square
#517B17 #177B73 #41177B #7B171F
split-complementary
#517B17 #171F7B #73177B
monochromatic
#111A05 #2F470D #517B17 #73AF21 #93D933

Accessibility & contrast

On white

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

On black

4.20
#517B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##517B17#FFFFFF#000000##FFFFFF
##517B171.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517b17;
/* rgb */ color: rgb(81, 123, 23);
/* oklch */ color: oklch(53.2% 0.133 130.5);
Tailwind
colors: {
  custom: {
    50: '#86a15d',
    500: '#517b17',
    950: '#000000',
  },
}
SCSS
$custom: #517b17;
$custom-light: #86a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#517b17",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 85.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5324,
    "c": 0.1334,
    "h": 130.5
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#517B17
secondary
#6E3EB0
accent
#3CEB86
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #517B17

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

Preview Lab → · Contrast checker → · Palette generator →

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