#517F4E#517F4E

#517F4E is a mid, moderate green. Relative luminance 0.175; OKLCH L 55.0% C 0.090 H 142.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#517F4E
RGBrgb(81, 127, 78)
HSLhsl(116, 24%, 40%)
HSVhsv(116, 39%, 50%)
CMYKcmyk(36.2%, 0%, 38.6%, 50.2%)
CIE-LABlab(48.86, -26.25, 21.80)
CIE-LCHlch(48.86, 34.13, 140.29°)
OKLaboklab(55% -0.0716 0.0542)
OKLCHoklch(55% 0.09 142.9)
XYZxyz(12.3573, 17.4775, 9.9286)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517F4E #7C4E7F
analogous
#697F4E #517F4E #4E7F64
triadic
#517F4E #4E517F #7F4E51
tetradic
#517F4E #4E697F #7C4E7F #7F644E
square
#517F4E #4E697F #7C4E7F #7F644E
split-complementary
#517F4E #644E7F #7F4E69
monochromatic
#21331F #395937 #517F4E #6CA268 #91BA8E

Accessibility & contrast

On white

4.67
#517F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#517F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #517F4E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517F4E#FFFFFF#000000##FFFFFF
##517F4E1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774B
Deuteranopia (green-blind)
#7A7251
Tritanopia (blue-blind)
#4D7C73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #517f4e;
/* rgb */ color: rgb(81, 127, 78);
/* oklch */ color: oklch(55.0% 0.090 142.9);
Tailwind
colors: {
  custom: {
    50: '#84a480',
    500: '#517f4e',
    950: '#000000',
  },
}
SCSS
$custom: #517f4e;
$custom-light: #84a480;
$custom-dark: #000000;
JSON
{
  "hex": "#517f4e",
  "rgb": {
    "r": 81,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 116.327,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.08978,
    "h": 142.9
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#517F4E
secondary
#A483A6
accent
#67C0BB
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #517F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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