#517E15#517E15

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

Color values

HEX#517E15
RGBrgb(81, 126, 21)
HSLhsl(86, 71%, 29%)
HSVhsv(86, 83%, 49%)
CMYKcmyk(35.7%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.91, -31.90, 47.47)
CIE-LCHlch(47.91, 57.19, 123.90°)
OKLaboklab(54.03% -0.0907 0.1043)
OKLCHoklch(54.03% 0.138 131)
XYZxyz(10.9895, 16.7248, 3.3585)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E15 #42157E
analogous
#7E7715 #517E15 #1D7E15
triadic
#517E15 #15517E #7E1551
tetradic
#517E15 #157E77 #42157E #7E151D
square
#517E15 #157E77 #42157E #7E151D
split-complementary
#517E15 #151D7E #77157E
monochromatic
#111A04 #2F4A0C #517E15 #73B21E #93DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517E15#FFFFFF#000000##FFFFFF
##517E151.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)
#7E7121
Tritanopia (blue-blind)
#53786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e15;
/* rgb */ color: rgb(81, 126, 21);
/* oklch */ color: oklch(54.0% 0.138 131.0);
Tailwind
colors: {
  custom: {
    50: '#86a35d',
    500: '#517e15',
    950: '#000000',
  },
}
SCSS
$custom: #517e15;
$custom-light: #86a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#517e15",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 85.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54026,
    "c": 0.13828,
    "h": 131
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#517E15
secondary
#6F3CB3
accent
#3AEE87
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517E15

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

Preview Lab → · Contrast checker → · Palette generator →

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