#517E52#517E52

#517E52 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.8% C 0.084 H 144.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#517E52
RGBrgb(81, 126, 82)
HSLhsl(121, 22%, 41%)
HSVhsv(121, 36%, 49%)
CMYKcmyk(35.7%, 0%, 34.9%, 50.6%)
CIE-LABlab(48.61, -25.06, 19.21)
CIE-LCHlch(48.61, 31.58, 142.54°)
OKLaboklab(54.82% -0.0683 0.0482)
OKLCHoklch(54.82% 0.084 144.8)
XYZxyz(12.3766, 17.2796, 10.6642)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517E52 #7E517D
analogous
#667E51 #517E52 #517E68
triadic
#517E52 #52517E #7E5251
tetradic
#517E52 #51667E #7E517D #7E6851
square
#517E52 #51667E #7E517D #7E6851
split-complementary
#517E52 #68517E #7E5166
monochromatic
#213322 #39593A #517E52 #6CA06D #91B892

Accessibility & contrast

On white

4.71
#517E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#517E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517E52
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517E52#FFFFFF#000000##FFFFFF
##517E521.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764F
Deuteranopia (green-blind)
#797254
Tritanopia (blue-blind)
#4C7C73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #517e52;
/* rgb */ color: rgb(81, 126, 82);
/* oklch */ color: oklch(54.8% 0.084 144.8);
Tailwind
colors: {
  custom: {
    50: '#84a383',
    500: '#517e52',
    950: '#000000',
  },
}
SCSS
$custom: #517e52;
$custom-light: #84a383;
$custom-dark: #000000;
JSON
{
  "hex": "#517e52",
  "rgb": {
    "r": 81,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 121.333,
    "s": 21.739,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.0836,
    "h": 144.8
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#517E52
secondary
#A585A5
accent
#6ABCBE
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #517E52

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

Preview Lab → · Contrast checker → · Palette generator →

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