#517E17#517E17

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

Color values

HEX#517E17
RGBrgb(81, 126, 23)
HSLhsl(86, 69%, 29%)
HSVhsv(86, 82%, 49%)
CMYKcmyk(35.7%, 0%, 81.7%, 50.6%)
CIE-LABlab(47.92, -31.80, 46.86)
CIE-LCHlch(47.92, 56.63, 124.16°)
OKLaboklab(54.04% -0.0903 0.1034)
OKLCHoklch(54.04% 0.137 131.1)
XYZxyz(11.0088, 16.7325, 3.4601)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E17 #44177E
analogous
#7E7817 #517E17 #1D7E17
triadic
#517E17 #17517E #7E1751
tetradic
#517E17 #177E78 #44177E #7E171D
square
#517E17 #177E78 #44177E #7E171D
split-complementary
#517E17 #171D7E #78177E
monochromatic
#111A05 #304A0E #517E17 #72B220 #92DA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517E17#FFFFFF#000000##FFFFFF
##517E171.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: #517e17;
/* rgb */ color: rgb(81, 126, 23);
/* oklch */ color: oklch(54.0% 0.137 131.1);
Tailwind
colors: {
  custom: {
    50: '#86a35e',
    500: '#517e17',
    950: '#000000',
  },
}
SCSS
$custom: #517e17;
$custom-light: #86a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#517e17",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 86.214,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.1373,
    "h": 131.1
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#517E17
secondary
#713EB3
accent
#3CEC89
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517E17

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

Preview Lab → · Contrast checker → · Palette generator →

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