#517A5E#517A5E

#517A5E is a mid, moderate green. Relative luminance 0.165; OKLCH L 54.1% C 0.063 H 154.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#517A5E
RGBrgb(81, 122, 94)
HSLhsl(139, 20%, 40%)
HSVhsv(139, 34%, 48%)
CMYKcmyk(33.6%, 0%, 23%, 52.2%)
CIE-LABlab(47.59, -20.70, 10.87)
CIE-LCHlch(47.59, 23.38, 152.30°)
OKLaboklab(54.08% -0.057 0.0279)
OKLCHoklch(54.08% 0.063 154)
XYZxyz(12.3726, 16.4759, 13.1158)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A5E #7A516D
analogous
#597A51 #517A5E #517A72
triadic
#517A5E #5E517A #7A5E51
tetradic
#517A5E #51597A #7A516D #7A7251
square
#517A5E #51597A #7A516D #7A7251
split-complementary
#517A5E #72517A #7A5159
monochromatic
#203025 #395542 #517A5E #6B9D7B #90B59C

Accessibility & contrast

On white

4.89
#517A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #517A5E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517A5E#FFFFFF#000000##FFFFFF
##517A5E1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745C
Deuteranopia (green-blind)
#736F60
Tritanopia (blue-blind)
#4A7972
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517a5e;
/* rgb */ color: rgb(81, 122, 94);
/* oklch */ color: oklch(54.1% 0.063 154.0);
Tailwind
colors: {
  custom: {
    50: '#83a08b',
    500: '#517a5e',
    950: '#000000',
  },
}
SCSS
$custom: #517a5e;
$custom-light: #83a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#517a5e",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 94
  },
  "hsl": {
    "h": 139.024,
    "s": 20.197,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.06349,
    "h": 154
  },
  "luminance": 0.16477
}

Semantic roles & 50–950 ramp

primary
#517A5E
secondary
#A38499
accent
#6BA3BD
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0B0E0C
muted
#7C7E7D

Preview Lab

Preview with #517A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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