#517E19#517E19

#517E19 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.136 H 131.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#517E19
RGBrgb(81, 126, 25)
HSLhsl(87, 67%, 30%)
HSVhsv(87, 80%, 49%)
CMYKcmyk(35.7%, 0%, 80.2%, 50.6%)
CIE-LABlab(47.93, -31.69, 46.22)
CIE-LCHlch(47.93, 56.04, 124.44°)
OKLaboklab(54.05% -0.0899 0.1024)
OKLCHoklch(54.05% 0.136 131.3)
XYZxyz(11.0296, 16.7408, 3.5697)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E19 #46197E
analogous
#7E7919 #517E19 #1E7E19
triadic
#517E19 #19517E #7E1951
tetradic
#517E19 #197E79 #46197E #7E191E
square
#517E19 #197E79 #46197E #7E191E
split-complementary
#517E19 #191E7E #79197E
monochromatic
#101A05 #304B0F #517E19 #72B123 #91D83A

Accessibility & contrast

On white

4.83
#517E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#517E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E19
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E19#FFFFFF#000000##FFFFFF
##517E191.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#53786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e19;
/* rgb */ color: rgb(81, 126, 25);
/* oklch */ color: oklch(54.0% 0.136 131.3);
Tailwind
colors: {
  custom: {
    50: '#86a35f',
    500: '#517e19',
    950: '#000000',
  },
}
SCSS
$custom: #517e19;
$custom-light: #86a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#517e19",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 86.733,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.13625,
    "h": 131.3
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#517E19
secondary
#7341B2
accent
#3EEA8B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #517E19

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

Preview Lab → · Contrast checker → · Palette generator →

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