#517D5D#517D5D

#517D5D is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.8% C 0.070 H 152.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#517D5D
RGBrgb(81, 125, 93)
HSLhsl(136, 21%, 40%)
HSVhsv(136, 35%, 49%)
CMYKcmyk(35.2%, 0%, 25.6%, 51%)
CIE-LABlab(48.52, -22.47, 12.74)
CIE-LCHlch(48.52, 25.83, 150.44°)
OKLaboklab(54.82% -0.0617 0.0325)
OKLCHoklch(54.82% 0.07 152.2)
XYZxyz(12.7020, 17.2062, 13.0057)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D5D #7D5171
analogous
#5B7D51 #517D5D #517D73
triadic
#517D5D #5D517D #7D5D51
tetradic
#517D5D #515B7D #7D5171 #7D7351
square
#517D5D #515B7D #7D5171 #7D7351
split-complementary
#517D5D #73517D #7D515B
monochromatic
#213326 #395841 #517D5D #6CA07A #91B89B

Accessibility & contrast

On white

4.73
#517D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#517D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517D5D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517D5D#FFFFFF#000000##FFFFFF
##517D5D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D765B
Deuteranopia (green-blind)
#76715F
Tritanopia (blue-blind)
#4A7C74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517d5d;
/* rgb */ color: rgb(81, 125, 93);
/* oklch */ color: oklch(54.8% 0.070 152.2);
Tailwind
colors: {
  custom: {
    50: '#83a38b',
    500: '#517d5d',
    950: '#000000',
  },
}
SCSS
$custom: #517d5d;
$custom-light: #83a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#517d5d",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 136.364,
    "s": 21.359,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.06973,
    "h": 152.2
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#517D5D
secondary
#A5859C
accent
#6AA7BE
background
#F8FAF8
surface
#EFF3F0
border
#CACDCB
text
#0B0F0C
muted
#7C7F7D

Preview Lab

Preview with #517D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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