#517D1E#517D1E

#517D1E is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.132 H 131.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#517D1E
RGBrgb(81, 125, 30)
HSLhsl(88, 61%, 30%)
HSVhsv(88, 76%, 49%)
CMYKcmyk(35.2%, 0%, 76%, 51%)
CIE-LABlab(47.64, -30.92, 44.15)
CIE-LCHlch(47.64, 53.90, 125.01°)
OKLaboklab(53.82% -0.0874 0.0988)
OKLCHoklch(53.82% 0.132 131.5)
XYZxyz(10.9612, 16.5099, 3.8372)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D1E #4A1E7D
analogous
#7D791E #517D1E #227D1E
triadic
#517D1E #1E517D #7D1E51
tetradic
#517D1E #1E7D79 #4A1E7D #7D1E22
square
#517D1E #1E7D79 #4A1E7D #7D1E22
split-complementary
#517D1E #1E227D #791E7D
monochromatic
#111A06 #314C12 #517D1E #71AE2A #90D243

Accessibility & contrast

On white

4.88
#517D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#517D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517D1E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517D1E#FFFFFF#000000##FFFFFF
##517D1E1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#52786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517d1e;
/* rgb */ color: rgb(81, 125, 30);
/* oklch */ color: oklch(53.8% 0.132 131.5);
Tailwind
colors: {
  custom: {
    50: '#86a361',
    500: '#517d1e',
    950: '#000000',
  },
}
SCSS
$custom: #517d1e;
$custom-light: #86a361;
$custom-dark: #000000;
JSON
{
  "hex": "#517d1e",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 87.789,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53818,
    "c": 0.13197,
    "h": 131.5
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#517D1E
secondary
#7746B0
accent
#43E48E
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #517D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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