#517C15#517C15

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

Color values

HEX#517C15
RGBrgb(81, 124, 21)
HSLhsl(85, 71%, 28%)
HSVhsv(85, 83%, 49%)
CMYKcmyk(34.7%, 0%, 83.1%, 51.4%)
CIE-LABlab(47.26, -30.97, 46.88)
CIE-LCHlch(47.26, 56.18, 123.45°)
OKLaboklab(53.49% -0.0883 0.1031)
OKLCHoklch(53.49% 0.136 130.6)
XYZxyz(10.7363, 16.2184, 3.2741)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517C15 #40157C
analogous
#7C7315 #517C15 #1D7C15
triadic
#517C15 #15517C #7C1551
tetradic
#517C15 #157C73 #40157C #7C151D
square
#517C15 #157C73 #40157C #7C151D
split-complementary
#517C15 #151D7C #73157C
monochromatic
#111A04 #2F480C #517C15 #73B01E #94DC30

Accessibility & contrast

On white

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

On black

4.24
#517C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##517C15#FFFFFF#000000##FFFFFF
##517C151.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517c15;
/* rgb */ color: rgb(81, 124, 21);
/* oklch */ color: oklch(53.5% 0.136 130.6);
Tailwind
colors: {
  custom: {
    50: '#86a25d',
    500: '#517c15',
    950: '#000000',
  },
}
SCSS
$custom: #517c15;
$custom-light: #86a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#517c15",
  "rgb": {
    "r": 81,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 85.049,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.13571,
    "h": 130.6
  },
  "luminance": 0.16219
}

Semantic roles & 50–950 ramp

primary
#517C15
secondary
#6D3CB1
accent
#3AEE85
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517C15

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

Preview Lab → · Contrast checker → · Palette generator →

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