#517E1D#517E1D

#517E1D is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.134 H 131.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#517E1D
RGBrgb(81, 126, 29)
HSLhsl(88, 63%, 30%)
HSVhsv(88, 77%, 49%)
CMYKcmyk(35.7%, 0%, 77%, 50.6%)
CIE-LABlab(47.96, -31.45, 44.83)
CIE-LCHlch(47.96, 54.76, 125.05°)
OKLaboklab(54.08% -0.089 0.1001)
OKLCHoklch(54.08% 0.134 131.6)
XYZxyz(11.0759, 16.7593, 3.8135)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E1D #4A1D7E
analogous
#7E7A1D #517E1D #207E1D
triadic
#517E1D #1D517E #7E1D51
tetradic
#517E1D #1D7E7A #4A1D7E #7E1D20
square
#517E1D #1D7E7A #4A1D7E #7E1D20
split-complementary
#517E1D #1D207E #7A1D7E
monochromatic
#111B06 #314C12 #517E1D #71B028 #90D342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517E1D#FFFFFF#000000##FFFFFF
##517E1D1.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)
#847408
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#52796B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517e1d;
/* rgb */ color: rgb(81, 126, 29);
/* oklch */ color: oklch(54.1% 0.134 131.6);
Tailwind
colors: {
  custom: {
    50: '#86a361',
    500: '#517e1d',
    950: '#000000',
  },
}
SCSS
$custom: #517e1d;
$custom-light: #86a361;
$custom-dark: #000000;
JSON
{
  "hex": "#517e1d",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 87.835,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.13394,
    "h": 131.6
  },
  "luminance": 0.1676
}

Semantic roles & 50–950 ramp

primary
#517E1D
secondary
#7745B1
accent
#42E68E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #517E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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