#517B5F#517B5F

#517B5F is a mid, moderate green. Relative luminance 0.167; OKLCH L 54.4% C 0.064 H 154.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#517B5F
RGBrgb(81, 123, 95)
HSLhsl(140, 21%, 40%)
HSVhsv(140, 34%, 48%)
CMYKcmyk(34.1%, 0%, 22.8%, 51.8%)
CIE-LABlab(47.93, -21.02, 10.76)
CIE-LCHlch(47.93, 23.61, 152.90°)
OKLaboklab(54.36% -0.058 0.0276)
OKLCHoklch(54.36% 0.064 154.6)
XYZxyz(12.5411, 16.7408, 13.3948)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B5F #7B516D
analogous
#587B51 #517B5F #517B74
triadic
#517B5F #5F517B #7B5F51
tetradic
#517B5F #51587B #7B516D #7B7451
square
#517B5F #51587B #7B516D #7B7451
split-complementary
#517B5F #74517B #7B5158
monochromatic
#203126 #395643 #517B5F #6B9E7C #90B69D

Accessibility & contrast

On white

4.83
#517B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#517B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517B5F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B5F#FFFFFF#000000##FFFFFF
##517B5F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B755D
Deuteranopia (green-blind)
#747061
Tritanopia (blue-blind)
#4A7A73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517b5f;
/* rgb */ color: rgb(81, 123, 95);
/* oklch */ color: oklch(54.4% 0.064 154.6);
Tailwind
colors: {
  custom: {
    50: '#83a18c',
    500: '#517b5f',
    950: '#000000',
  },
}
SCSS
$custom: #517b5f;
$custom-light: #83a18c;
$custom-dark: #000000;
JSON
{
  "hex": "#517b5f",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 95
  },
  "hsl": {
    "h": 140,
    "s": 20.588,
    "l": 40
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.06419,
    "h": 154.6
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#517B5F
secondary
#A38499
accent
#6BA2BD
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0B0F0C
muted
#7C7E7D

Preview Lab

Preview with #517B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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