#517F13#517F13

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

Color values

HEX#517F13
RGBrgb(81, 127, 19)
HSLhsl(86, 74%, 29%)
HSVhsv(86, 85%, 50%)
CMYKcmyk(36.2%, 0%, 85%, 50.2%)
CIE-LABlab(48.23, -32.45, 48.33)
CIE-LCHlch(48.23, 58.21, 123.87°)
OKLaboklab(54.28% -0.0924 0.1058)
OKLCHoklch(54.28% 0.14 131.1)
XYZxyz(11.1002, 16.9747, 3.3076)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F13 #41137F
analogous
#7F7713 #517F13 #1B7F13
triadic
#517F13 #13517F #7F1351
tetradic
#517F13 #137F77 #41137F #7F131B
square
#517F13 #137F77 #41137F #7F131B
split-complementary
#517F13 #131B7F #77137F
monochromatic
#111B04 #2F4A0B #517F13 #73B41B #93E02D

Accessibility & contrast

On white

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

On black

4.39
#517F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##517F13#FFFFFF#000000##FFFFFF
##517F131.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517f13;
/* rgb */ color: rgb(81, 127, 19);
/* oklch */ color: oklch(54.3% 0.140 131.1);
Tailwind
colors: {
  custom: {
    50: '#86a45c',
    500: '#517f13',
    950: '#000000',
  },
}
SCSS
$custom: #517f13;
$custom-light: #86a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#517f13",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 85.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.14047,
    "h": 131.1
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#517F13
secondary
#6E39B4
accent
#37F186
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517F13

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

Preview Lab → · Contrast checker → · Palette generator →

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