#517A5B#517A5B

#517A5B is a mid, moderate green. Relative luminance 0.164; OKLCH L 54.0% C 0.067 H 151.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#517A5B
RGBrgb(81, 122, 91)
HSLhsl(135, 20%, 40%)
HSVhsv(135, 34%, 48%)
CMYKcmyk(33.6%, 0%, 25.4%, 52.2%)
CIE-LABlab(47.52, -21.32, 12.53)
CIE-LCHlch(47.52, 24.73, 149.55°)
OKLaboklab(54.01% -0.0585 0.032)
OKLCHoklch(54.01% 0.067 151.3)
XYZxyz(12.2405, 16.4231, 12.4205)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A5B #7A5170
analogous
#5C7A51 #517A5B #517A70
triadic
#517A5B #5B517A #7A5B51
tetradic
#517A5B #515C7A #7A5170 #7A7051
square
#517A5B #515C7A #7A5170 #7A7051
split-complementary
#517A5B #70517A #7A515C
monochromatic
#203024 #395540 #517A5B #6B9D77 #90B599

Accessibility & contrast

On white

4.90
#517A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#517A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517A5B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517A5B#FFFFFF#000000##FFFFFF
##517A5B1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7359
Deuteranopia (green-blind)
#746F5D
Tritanopia (blue-blind)
#4B7972
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517a5b;
/* rgb */ color: rgb(81, 122, 91);
/* oklch */ color: oklch(54.0% 0.067 151.3);
Tailwind
colors: {
  custom: {
    50: '#83a089',
    500: '#517a5b',
    950: '#000000',
  },
}
SCSS
$custom: #517a5b;
$custom-light: #83a089;
$custom-dark: #000000;
JSON
{
  "hex": "#517a5b",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 91
  },
  "hsl": {
    "h": 134.634,
    "s": 20.197,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54005,
    "c": 0.06668,
    "h": 151.3
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#517A5B
secondary
#A3849B
accent
#6BA9BD
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0B0F0B
muted
#7C7E7C

Preview Lab

Preview with #517A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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