#517D4E#517D4E

#517D4E is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.5% C 0.086 H 142.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#517D4E
RGBrgb(81, 125, 78)
HSLhsl(116, 23%, 40%)
HSVhsv(116, 38%, 49%)
CMYKcmyk(35.2%, 0%, 37.6%, 51%)
CIE-LABlab(48.22, -25.26, 20.96)
CIE-LCHlch(48.22, 32.82, 140.32°)
OKLaboklab(54.48% -0.0689 0.0522)
OKLCHoklch(54.48% 0.086 142.8)
XYZxyz(12.1016, 16.9660, 9.8434)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517D4E #7A4E7D
analogous
#697D4E #517D4E #4E7D62
triadic
#517D4E #4E517D #7D4E51
tetradic
#517D4E #4E697D #7A4E7D #7D624E
square
#517D4E #4E697D #7A4E7D #7D624E
split-complementary
#517D4E #624E7D #7D4E69
monochromatic
#20321F #395736 #517D4E #6BA168 #90B88D

Accessibility & contrast

On white

4.78
#517D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#517D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517D4E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517D4E#FFFFFF#000000##FFFFFF
##517D4E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#787151
Tritanopia (blue-blind)
#4D7A71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #517d4e;
/* rgb */ color: rgb(81, 125, 78);
/* oklch */ color: oklch(54.5% 0.086 142.8);
Tailwind
colors: {
  custom: {
    50: '#84a380',
    500: '#517d4e',
    950: '#000000',
  },
}
SCSS
$custom: #517d4e;
$custom-light: #84a380;
$custom-dark: #000000;
JSON
{
  "hex": "#517d4e",
  "rgb": {
    "r": 81,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 116.17,
    "s": 23.153,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.08644,
    "h": 142.8
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#517D4E
secondary
#A382A5
accent
#68C0BA
background
#F8FAF7
surface
#EFF3EE
border
#CACDC9
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #517D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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