#517D1D#517D1D

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

Color values

HEX#517D1D
RGBrgb(81, 125, 29)
HSLhsl(88, 62%, 30%)
HSVhsv(88, 77%, 49%)
CMYKcmyk(35.2%, 0%, 76.8%, 51%)
CIE-LABlab(47.63, -30.99, 44.51)
CIE-LCHlch(47.63, 54.24, 124.84°)
OKLaboklab(53.81% -0.0877 0.0995)
OKLCHoklch(53.81% 0.133 131.4)
XYZxyz(10.9486, 16.5049, 3.7710)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D1D #491D7D
analogous
#7D791D #517D1D #217D1D
triadic
#517D1D #1D517D #7D1D51
tetradic
#517D1D #1D7D79 #491D7D #7D1D21
square
#517D1D #1D7D79 #491D7D #7D1D21
split-complementary
#517D1D #1D217D #791D7D
monochromatic
#111A06 #314B11 #517D1D #71AF29 #90D341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517D1D#FFFFFF#000000##FFFFFF
##517D1D1.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)
#837309
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#52786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517d1d;
/* rgb */ color: rgb(81, 125, 29);
/* oklch */ color: oklch(53.8% 0.133 131.4);
Tailwind
colors: {
  custom: {
    50: '#86a360',
    500: '#517d1d',
    950: '#000000',
  },
}
SCSS
$custom: #517d1d;
$custom-light: #86a360;
$custom-dark: #000000;
JSON
{
  "hex": "#517d1d",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 87.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.1326,
    "h": 131.4
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#517D1D
secondary
#7645B1
accent
#42E58D
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #517D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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