#517852#517852

#517852 is a mid, moderate green. Relative luminance 0.158; OKLCH L 53.3% C 0.073 H 145.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#517852
RGBrgb(81, 120, 82)
HSLhsl(122, 19%, 39%)
HSVhsv(122, 33%, 47%)
CMYKcmyk(32.5%, 0%, 31.7%, 52.9%)
CIE-LABlab(46.70, -22.01, 16.63)
CIE-LCHlch(46.70, 27.59, 142.92°)
OKLaboklab(53.27% -0.0601 0.042)
OKLCHoklch(53.27% 0.073 145.1)
XYZxyz(11.6323, 15.7910, 10.4161)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517852 #785177
analogous
#647851 #517852 #517866
triadic
#517852 #525178 #785251
tetradic
#517852 #516478 #785177 #786651
square
#517852 #516478 #785177 #786651
split-complementary
#517852 #665178 #785164
monochromatic
#202F20 #385339 #517852 #6B9B6C #90B491

Accessibility & contrast

On white

5.05
#517852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#517852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517852
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517852#FFFFFF#000000##FFFFFF
##5178521.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7150
Deuteranopia (green-blind)
#736D54
Tritanopia (blue-blind)
#4D766E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517852;
/* rgb */ color: rgb(81, 120, 82);
/* oklch */ color: oklch(53.3% 0.073 145.1);
Tailwind
colors: {
  custom: {
    50: '#839f83',
    500: '#517852',
    950: '#000000',
  },
}
SCSS
$custom: #517852;
$custom-light: #839f83;
$custom-dark: #000000;
JSON
{
  "hex": "#517852",
  "rgb": {
    "r": 81,
    "g": 120,
    "b": 82
  },
  "hsl": {
    "h": 121.538,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.07327,
    "h": 145.1
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#517852
secondary
#A184A0
accent
#6CBABC
background
#F8F9F8
surface
#EFF2EF
border
#CACCCA
text
#0B0E0A
muted
#7C7E7C

Preview Lab

Preview with #517852

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

Preview Lab → · Contrast checker → · Palette generator →

#517852 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva