#517B4E#517B4E

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

Color values

HEX#517B4E
RGBrgb(81, 123, 78)
HSLhsl(116, 22%, 39%)
HSVhsv(116, 37%, 48%)
CMYKcmyk(34.1%, 0%, 36.6%, 51.8%)
CIE-LABlab(47.58, -24.25, 20.11)
CIE-LCHlch(47.58, 31.51, 140.34°)
OKLaboklab(53.96% -0.0661 0.0502)
OKLCHoklch(53.96% 0.083 142.8)
XYZxyz(11.8510, 16.4648, 9.7598)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B4E #784E7B
analogous
#687B4E #517B4E #4E7B62
triadic
#517B4E #4E517B #7B4E51
tetradic
#517B4E #4E687B #784E7B #7B624E
square
#517B4E #4E687B #784E7B #7B624E
split-complementary
#517B4E #624E7B #7B4E68
monochromatic
#20301F #385636 #517B4E #6B9F67 #90B78D

Accessibility & contrast

On white

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

On black

4.29
#517B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##517B4E#FFFFFF#000000##FFFFFF
##517B4E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734B
Deuteranopia (green-blind)
#776F51
Tritanopia (blue-blind)
#4D786F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #517b4e;
/* rgb */ color: rgb(81, 123, 78);
/* oklch */ color: oklch(54.0% 0.083 142.8);
Tailwind
colors: {
  custom: {
    50: '#83a180',
    500: '#517b4e',
    950: '#000000',
  },
}
SCSS
$custom: #517b4e;
$custom-light: #83a180;
$custom-dark: #000000;
JSON
{
  "hex": "#517b4e",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 116,
    "s": 22.388,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.08304,
    "h": 142.8
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

primary
#517B4E
secondary
#A181A3
accent
#69BFB9
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0B0F0A
muted
#7C7E7C

Preview Lab

Preview with #517B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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