#517E4B#517E4B

#517E4B is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.7% C 0.091 H 141.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#517E4B
RGBrgb(81, 126, 75)
HSLhsl(113, 25%, 39%)
HSVhsv(113, 40%, 49%)
CMYKcmyk(35.7%, 0%, 40.5%, 50.6%)
CIE-LABlab(48.48, -26.26, 23.00)
CIE-LCHlch(48.48, 34.91, 138.78°)
OKLaboklab(54.68% -0.0716 0.0569)
OKLCHoklch(54.68% 0.092 141.5)
XYZxyz(12.1237, 17.1785, 9.3322)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E4B #784B7E
analogous
#6B7E4B #517E4B #4B7E5F
triadic
#517E4B #4B517E #7E4B51
tetradic
#517E4B #4B6B7E #784B7E #7E5F4B
square
#517E4B #4B6B7E #784B7E #7E5F4B
split-complementary
#517E4B #5F4B7E #7E4B6B
monochromatic
#20311D #385834 #517E4B #6BA364 #90B98A

Accessibility & contrast

On white

4.73
#517E4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#517E4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E4B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E4B#FFFFFF#000000##FFFFFF
##517E4B1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817647
Deuteranopia (green-blind)
#7A714E
Tritanopia (blue-blind)
#4D7B71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517e4b;
/* rgb */ color: rgb(81, 126, 75);
/* oklch */ color: oklch(54.7% 0.091 141.5);
Tailwind
colors: {
  custom: {
    50: '#84a37e',
    500: '#517e4b',
    950: '#000000',
  },
}
SCSS
$custom: #517e4b;
$custom-light: #84a37e;
$custom-dark: #000000;
JSON
{
  "hex": "#517e4b",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 75
  },
  "hsl": {
    "h": 112.941,
    "s": 25.373,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.0915,
    "h": 141.5
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#517E4B
secondary
#A17FA6
accent
#66C2B7
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #517E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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