#517E5B#517E5B

#517E5B is a mid, moderate green. Relative luminance 0.174; OKLCH L 55.0% C 0.074 H 150.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#517E5B
RGBrgb(81, 126, 91)
HSLhsl(133, 22%, 41%)
HSVhsv(133, 36%, 49%)
CMYKcmyk(35.7%, 0%, 27.8%, 50.6%)
CIE-LABlab(48.79, -23.38, 14.28)
CIE-LCHlch(48.79, 27.39, 148.58°)
OKLaboklab(55.03% -0.064 0.0363)
OKLCHoklch(55.03% 0.074 150.4)
XYZxyz(12.7418, 17.4257, 12.5876)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E5B #7E5174
analogous
#5D7E51 #517E5B #517E71
triadic
#517E5B #5B517E #7E5B51
tetradic
#517E5B #515D7E #7E5174 #7E7151
square
#517E5B #515D7E #7E5174 #7E7151
split-complementary
#517E5B #71517E #7E515D
monochromatic
#213325 #395940 #517E5B #6CA077 #91B89A

Accessibility & contrast

On white

4.68
#517E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#517E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E5B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E5B#FFFFFF#000000##FFFFFF
##517E5B1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7759
Deuteranopia (green-blind)
#77725D
Tritanopia (blue-blind)
#4A7C75
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #517e5b;
/* rgb */ color: rgb(81, 126, 91);
/* oklch */ color: oklch(55.0% 0.074 150.4);
Tailwind
colors: {
  custom: {
    50: '#83a389',
    500: '#517e5b',
    950: '#000000',
  },
}
SCSS
$custom: #517e5b;
$custom-light: #83a389;
$custom-dark: #000000;
JSON
{
  "hex": "#517e5b",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 91
  },
  "hsl": {
    "h": 133.333,
    "s": 21.739,
    "l": 40.588
  },
  "oklch": {
    "l": 0.55028,
    "c": 0.07361,
    "h": 150.4
  },
  "luminance": 0.17426
}

Semantic roles & 50–950 ramp

primary
#517E5B
secondary
#A5859E
accent
#6AABBE
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #517E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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