#517F19#517F19

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

Color values

HEX#517F19
RGBrgb(81, 127, 25)
HSLhsl(87, 67%, 30%)
HSVhsv(87, 80%, 50%)
CMYKcmyk(36.2%, 0%, 80.3%, 50.2%)
CIE-LABlab(48.26, -32.15, 46.52)
CIE-LCHlch(48.26, 56.55, 124.64°)
OKLaboklab(54.32% -0.0912 0.103)
OKLCHoklch(54.32% 0.138 131.5)
XYZxyz(11.1581, 16.9978, 3.6125)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F19 #47197F
analogous
#7F7A19 #517F19 #1E7F19
triadic
#517F19 #19517F #7F1951
tetradic
#517F19 #197F7A #47197F #7F191E
square
#517F19 #197F7A #47197F #7F191E
split-complementary
#517F19 #191E7F #7A197F
monochromatic
#101A05 #304C0F #517F19 #72B223 #91D83A

Accessibility & contrast

On white

4.77
#517F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #517F19
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517F19#FFFFFF#000000##FFFFFF
##517F191.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#52796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517f19;
/* rgb */ color: rgb(81, 127, 25);
/* oklch */ color: oklch(54.3% 0.138 131.5);
Tailwind
colors: {
  custom: {
    50: '#86a45f',
    500: '#517f19',
    950: '#000000',
  },
}
SCSS
$custom: #517f19;
$custom-light: #86a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#517f19",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 87.059,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.13755,
    "h": 131.5
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#517F19
secondary
#7441B3
accent
#3EEA8B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517F19

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

Preview Lab → · Contrast checker → · Palette generator →

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