#517E14#517E14

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

Color values

HEX#517E14
RGBrgb(81, 126, 20)
HSLhsl(85, 73%, 29%)
HSVhsv(85, 84%, 49%)
CMYKcmyk(35.7%, 0%, 84.1%, 50.6%)
CIE-LABlab(47.91, -31.94, 47.76)
CIE-LCHlch(47.91, 57.46, 123.77°)
OKLaboklab(54.02% -0.0909 0.1048)
OKLCHoklch(54.02% 0.139 131)
XYZxyz(10.9804, 16.7211, 3.3106)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E14 #41147E
analogous
#7E7614 #517E14 #1C7E14
triadic
#517E14 #14517E #7E1451
tetradic
#517E14 #147E76 #41147E #7E141C
square
#517E14 #147E76 #41147E #7E141C
split-complementary
#517E14 #141C7E #76147E
monochromatic
#111A04 #2F490C #517E14 #73B31C #93DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517E14#FFFFFF#000000##FFFFFF
##517E141.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: #517e14;
/* rgb */ color: rgb(81, 126, 20);
/* oklch */ color: oklch(54.0% 0.139 131.0);
Tailwind
colors: {
  custom: {
    50: '#86a35d',
    500: '#517e14',
    950: '#000000',
  },
}
SCSS
$custom: #517e14;
$custom-light: #86a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#517e14",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 85.472,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.13875,
    "h": 131
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

primary
#517E14
secondary
#6E3AB3
accent
#38EF86
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517E14

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

Preview Lab → · Contrast checker → · Palette generator →

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