#517D14#517D14

#517D14 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.137 H 130.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#517D14
RGBrgb(81, 125, 20)
HSLhsl(85, 72%, 28%)
HSVhsv(85, 84%, 49%)
CMYKcmyk(35.2%, 0%, 84%, 51%)
CIE-LABlab(47.58, -31.48, 47.47)
CIE-LCHlch(47.58, 56.96, 123.55°)
OKLaboklab(53.76% -0.0897 0.1042)
OKLCHoklch(53.76% 0.137 130.7)
XYZxyz(10.8532, 16.4667, 3.2682)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D14 #40147D
analogous
#7D7414 #517D14 #1C7D14
triadic
#517D14 #14517D #7D1451
tetradic
#517D14 #147D74 #40147D #7D141C
square
#517D14 #147D74 #40147D #7D141C
split-complementary
#517D14 #141C7D #74147D
monochromatic
#111A04 #2F480C #517D14 #73B21C #94DE2E

Accessibility & contrast

On white

4.89
#517D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#517D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517D14
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517D14#FFFFFF#000000##FFFFFF
##517D141.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#53776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517d14;
/* rgb */ color: rgb(81, 125, 20);
/* oklch */ color: oklch(53.8% 0.137 130.7);
Tailwind
colors: {
  custom: {
    50: '#86a35c',
    500: '#517d14',
    950: '#000000',
  },
}
SCSS
$custom: #517d14;
$custom-light: #86a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#517d14",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 85.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.13747,
    "h": 130.7
  },
  "luminance": 0.16467
}

Semantic roles & 50–950 ramp

primary
#517D14
secondary
#6D3AB2
accent
#39EF85
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517D14

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

Preview Lab → · Contrast checker → · Palette generator →

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