#517151#517151

#517151 is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.5% C 0.062 H 144.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#517151
RGBrgb(81, 113, 81)
HSLhsl(120, 16%, 38%)
HSVhsv(120, 28%, 44%)
CMYKcmyk(28.3%, 0%, 28.3%, 55.7%)
CIE-LABlab(44.45, -18.52, 14.15)
CIE-LCHlch(44.45, 23.31, 142.61°)
OKLaboklab(51.46% -0.0506 0.0359)
OKLCHoklch(51.46% 0.062 144.6)
XYZxyz(10.7832, 14.1533, 9.9467)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517151 #715171
analogous
#617151 #517151 #517161
triadic
#517151 #515171 #715151
tetradic
#517151 #516171 #715171 #716151
square
#517151 #516171 #715171 #716151
split-complementary
#517151 #615171 #715161
monochromatic
#1E2A1E #374D37 #517151 #6B956B #8EAE8E

Accessibility & contrast

On white

5.48
#517151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#517151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517151
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517151#FFFFFF#000000##FFFFFF
##5171511.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726B4F
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#4E6F68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #517151;
/* rgb */ color: rgb(81, 113, 81);
/* oklch */ color: oklch(51.5% 0.062 144.6);
Tailwind
colors: {
  custom: {
    50: '#829a82',
    500: '#517151',
    950: '#000000',
  },
}
SCSS
$custom: #517151;
$custom-light: #829a82;
$custom-dark: #000000;
JSON
{
  "hex": "#517151",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 120,
    "s": 16.495,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.06202,
    "h": 144.6
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#517151
secondary
#9C829C
accent
#6FB9B9
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0A0E0A
muted
#7C7E7C

Preview Lab

Preview with #517151

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

Preview Lab → · Contrast checker → · Palette generator →

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