#517F14#517F14

#517F14 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.140 H 131.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#517F14
RGBrgb(81, 127, 20)
HSLhsl(86, 73%, 29%)
HSVhsv(86, 84%, 50%)
CMYKcmyk(36.2%, 0%, 84.3%, 50.2%)
CIE-LABlab(48.23, -32.40, 48.05)
CIE-LCHlch(48.23, 57.96, 123.99°)
OKLaboklab(54.29% -0.0922 0.1054)
OKLCHoklch(54.29% 0.14 131.2)
XYZxyz(11.1089, 16.9781, 3.3535)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F14 #42147F
analogous
#7F7814 #517F14 #1C7F14
triadic
#517F14 #14517F #7F1451
tetradic
#517F14 #147F78 #42147F #7F141C
square
#517F14 #147F78 #42147F #7F141C
split-complementary
#517F14 #141C7F #78147F
monochromatic
#111A04 #2F4A0C #517F14 #73B41C #93DE2F

Accessibility & contrast

On white

4.78
#517F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#517F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517F14
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517F14#FFFFFF#000000##FFFFFF
##517F141.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7F7121
Tritanopia (blue-blind)
#53796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517f14;
/* rgb */ color: rgb(81, 127, 20);
/* oklch */ color: oklch(54.3% 0.140 131.2);
Tailwind
colors: {
  custom: {
    50: '#86a45d',
    500: '#517f14',
    950: '#000000',
  },
}
SCSS
$custom: #517f14;
$custom-light: #86a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#517f14",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 85.794,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54287,
    "c": 0.14003,
    "h": 131.2
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#517F14
secondary
#6F3BB4
accent
#38EF87
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517F14

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

Preview Lab → · Contrast checker → · Palette generator →

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