#517F17#517F17

#517F17 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.139 H 131.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#517F17
RGBrgb(81, 127, 23)
HSLhsl(87, 69%, 29%)
HSVhsv(87, 82%, 50%)
CMYKcmyk(36.2%, 0%, 81.9%, 50.2%)
CIE-LABlab(48.25, -32.25, 47.16)
CIE-LCHlch(48.25, 57.14, 124.37°)
OKLaboklab(54.3% -0.0916 0.104)
OKLCHoklch(54.3% 0.139 131.4)
XYZxyz(11.1373, 16.9895, 3.5029)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F17 #45177F
analogous
#7F7917 #517F17 #1D7F17
triadic
#517F17 #17517F #7F1751
tetradic
#517F17 #177F79 #45177F #7F171D
square
#517F17 #177F79 #45177F #7F171D
split-complementary
#517F17 #171D7F #79177F
monochromatic
#111A05 #304B0E #517F17 #72B320 #92DB36

Accessibility & contrast

On white

4.77
#517F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#517F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517F17
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517F17#FFFFFF#000000##FFFFFF
##517F171.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#53796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517f17;
/* rgb */ color: rgb(81, 127, 23);
/* oklch */ color: oklch(54.3% 0.139 131.4);
Tailwind
colors: {
  custom: {
    50: '#86a45e',
    500: '#517f17',
    950: '#000000',
  },
}
SCSS
$custom: #517f17;
$custom-light: #86a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#517f17",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 86.538,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.1386,
    "h": 131.4
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#517F17
secondary
#723EB4
accent
#3CEC8A
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517F17

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

Preview Lab → · Contrast checker → · Palette generator →

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