#517E4E#517E4E

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

Color values

HEX#517E4E
RGBrgb(81, 126, 78)
HSLhsl(116, 24%, 40%)
HSVhsv(116, 38%, 49%)
CMYKcmyk(35.7%, 0%, 38.1%, 50.6%)
CIE-LABlab(48.54, -25.76, 21.38)
CIE-LCHlch(48.54, 33.48, 140.31°)
OKLaboklab(54.74% -0.0702 0.0532)
OKLCHoklch(54.74% 0.088 142.9)
XYZxyz(12.2288, 17.2205, 9.8858)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E4E #7B4E7E
analogous
#697E4E #517E4E #4E7E63
triadic
#517E4E #4E517E #7E4E51
tetradic
#517E4E #4E697E #7B4E7E #7E634E
square
#517E4E #4E697E #7B4E7E #7E634E
split-complementary
#517E4E #634E7E #7E4E69
monochromatic
#20321F #395837 #517E4E #6BA168 #90B98E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517E4E#FFFFFF#000000##FFFFFF
##517E4E1.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)
#80764B
Deuteranopia (green-blind)
#797251
Tritanopia (blue-blind)
#4D7B72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517e4e;
/* rgb */ color: rgb(81, 126, 78);
/* oklch */ color: oklch(54.7% 0.088 142.9);
Tailwind
colors: {
  custom: {
    50: '#84a380',
    500: '#517e4e',
    950: '#000000',
  },
}
SCSS
$custom: #517e4e;
$custom-light: #84a380;
$custom-dark: #000000;
JSON
{
  "hex": "#517e4e",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 116.25,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.08811,
    "h": 142.9
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#517E4E
secondary
#A382A6
accent
#68C0BA
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #517E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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