#517C17#517C17

#517C17 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.135 H 130.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#517C17
RGBrgb(81, 124, 23)
HSLhsl(86, 69%, 29%)
HSVhsv(86, 81%, 49%)
CMYKcmyk(34.7%, 0%, 81.5%, 51.4%)
CIE-LABlab(47.27, -30.87, 46.26)
CIE-LCHlch(47.27, 55.61, 123.72°)
OKLaboklab(53.51% -0.0878 0.1021)
OKLCHoklch(53.51% 0.135 130.7)
XYZxyz(10.7556, 16.2261, 3.3757)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517C17 #42177C
analogous
#7C7517 #517C17 #1F7C17
triadic
#517C17 #17517C #7C1751
tetradic
#517C17 #177C75 #42177C #7C171F
square
#517C17 #177C75 #42177C #7C171F
split-complementary
#517C17 #171F7C #75177C
monochromatic
#111A05 #2F480D #517C17 #73B021 #93D934

Accessibility & contrast

On white

4.95
#517C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#517C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517C17
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517C17#FFFFFF#000000##FFFFFF
##517C171.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#537669
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #517c17;
/* rgb */ color: rgb(81, 124, 23);
/* oklch */ color: oklch(53.5% 0.135 130.7);
Tailwind
colors: {
  custom: {
    50: '#86a25e',
    500: '#517c17',
    950: '#000000',
  },
}
SCSS
$custom: #517c17;
$custom-light: #86a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#517c17",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 85.545,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.1347,
    "h": 130.7
  },
  "luminance": 0.16226
}

Semantic roles & 50–950 ramp

primary
#517C17
secondary
#6F3EB1
accent
#3CEC87
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517C17

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

Preview Lab → · Contrast checker → · Palette generator →

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