#517A5A#517A5A

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

Color values

HEX#517A5A
RGBrgb(81, 122, 90)
HSLhsl(133, 20%, 40%)
HSVhsv(133, 34%, 48%)
CMYKcmyk(33.6%, 0%, 26.2%, 52.2%)
CIE-LABlab(47.50, -21.52, 13.08)
CIE-LCHlch(47.50, 25.18, 148.70°)
OKLaboklab(53.98% -0.059 0.0334)
OKLCHoklch(53.98% 0.068 150.5)
XYZxyz(12.1977, 16.4060, 12.1948)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A5A #7A5171
analogous
#5D7A51 #517A5A #517A6F
triadic
#517A5A #5A517A #7A5A51
tetradic
#517A5A #515D7A #7A5171 #7A6F51
square
#517A5A #515D7A #7A5171 #7A6F51
split-complementary
#517A5A #6F517A #7A515D
monochromatic
#203024 #39553F #517A5A #6B9D76 #90B598

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517A5A#FFFFFF#000000##FFFFFF
##517A5A1.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)
#7B7358
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#4B7971
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517a5a;
/* rgb */ color: rgb(81, 122, 90);
/* oklch */ color: oklch(54.0% 0.068 150.5);
Tailwind
colors: {
  custom: {
    50: '#83a088',
    500: '#517a5a',
    950: '#000000',
  },
}
SCSS
$custom: #517a5a;
$custom-light: #83a088;
$custom-dark: #000000;
JSON
{
  "hex": "#517a5a",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 90
  },
  "hsl": {
    "h": 133.171,
    "s": 20.197,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.06776,
    "h": 150.5
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#517A5A
secondary
#A3849C
accent
#6BABBD
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0B0F0B
muted
#7C7E7C

Preview Lab

Preview with #517A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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