#517F16#517F16

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

Color values

HEX#517F16
RGBrgb(81, 127, 22)
HSLhsl(86, 70%, 29%)
HSVhsv(86, 83%, 50%)
CMYKcmyk(36.2%, 0%, 82.7%, 50.2%)
CIE-LABlab(48.24, -32.31, 47.47)
CIE-LCHlch(48.24, 57.42, 124.24°)
OKLaboklab(54.3% -0.0918 0.1045)
OKLCHoklch(54.3% 0.139 131.3)
XYZxyz(11.1274, 16.9856, 3.4512)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F16 #44167F
analogous
#7F7916 #517F16 #1C7F16
triadic
#517F16 #16517F #7F1651
tetradic
#517F16 #167F79 #44167F #7F161C
square
#517F16 #167F79 #44167F #7F161C
split-complementary
#517F16 #161C7F #79167F
monochromatic
#111A05 #304B0D #517F16 #72B31F #92DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517F16#FFFFFF#000000##FFFFFF
##517F161.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)
#7F7122
Tritanopia (blue-blind)
#53796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517f16;
/* rgb */ color: rgb(81, 127, 22);
/* oklch */ color: oklch(54.3% 0.139 131.3);
Tailwind
colors: {
  custom: {
    50: '#86a45e',
    500: '#517f16',
    950: '#000000',
  },
}
SCSS
$custom: #517f16;
$custom-light: #86a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#517f16",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 86.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.13909,
    "h": 131.3
  },
  "luminance": 0.16986
}

Semantic roles & 50–950 ramp

primary
#517F16
secondary
#713DB4
accent
#3BED89
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517F16

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

Preview Lab → · Contrast checker → · Palette generator →

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