#517E13#517E13

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

Color values

HEX#517E13
RGBrgb(81, 126, 19)
HSLhsl(85, 74%, 28%)
HSVhsv(85, 85%, 49%)
CMYKcmyk(35.7%, 0%, 84.9%, 50.6%)
CIE-LABlab(47.90, -31.99, 48.04)
CIE-LCHlch(47.90, 57.72, 123.66°)
OKLaboklab(54.02% -0.0911 0.1052)
OKLCHoklch(54.02% 0.139 130.9)
XYZxyz(10.9717, 16.7176, 3.2647)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E13 #40137E
analogous
#7E7513 #517E13 #1B7E13
triadic
#517E13 #13517E #7E1351
tetradic
#517E13 #137E75 #40137E #7E131B
square
#517E13 #137E75 #40137E #7E131B
split-complementary
#517E13 #131B7E #75137E
monochromatic
#111B04 #2F490B #517E13 #73B31B #94DF2C

Accessibility & contrast

On white

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

On black

4.34
#517E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##517E13#FFFFFF#000000##FFFFFF
##517E131.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#53786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e13;
/* rgb */ color: rgb(81, 126, 19);
/* oklch */ color: oklch(54.0% 0.139 130.9);
Tailwind
colors: {
  custom: {
    50: '#86a35c',
    500: '#517e13',
    950: '#000000',
  },
}
SCSS
$custom: #517e13;
$custom-light: #86a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#517e13",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 85.234,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.1392,
    "h": 130.9
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

primary
#517E13
secondary
#6D39B4
accent
#37F085
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517E13

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

Preview Lab → · Contrast checker → · Palette generator →

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