#516255#516255

#516255 is a mid, muted green. Relative luminance 0.111; OKLCH L 47.8% C 0.029 H 152.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#516255
RGBrgb(81, 98, 85)
HSLhsl(134, 9%, 35%)
HSVhsv(134, 17%, 38%)
CMYKcmyk(17.3%, 0%, 13.3%, 61.6%)
CIE-LABlab(39.82, -9.36, 5.26)
CIE-LCHlch(39.82, 10.74, 150.66°)
OKLaboklab(47.78% -0.0259 0.0137)
OKLCHoklch(47.78% 0.029 152.3)
XYZxyz(9.4003, 11.1404, 10.2476)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516255 #62515E
analogous
#556251 #516255 #51625D
triadic
#516255 #555162 #625551
tetradic
#516255 #515562 #62515E #625D51
square
#516255 #515562 #62515E #625D51
split-complementary
#516255 #5D5162 #625155
monochromatic
#1A1F1B #354038 #516255 #6D8472 #8DA191

Accessibility & contrast

On white

6.51
#516255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#516255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516255
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516255#FFFFFF#000000##FFFFFF
##5162551.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625F54
Deuteranopia (green-blind)
#5F5D56
Tritanopia (blue-blind)
#4F615E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #516255;
/* rgb */ color: rgb(81, 98, 85);
/* oklch */ color: oklch(47.8% 0.029 152.3);
Tailwind
colors: {
  custom: {
    50: '#828e84',
    500: '#516255',
    950: '#000000',
  },
}
SCSS
$custom: #516255;
$custom-light: #828e84;
$custom-dark: #000000;
JSON
{
  "hex": "#516255",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 85
  },
  "hsl": {
    "h": 134.118,
    "s": 9.497,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.02932,
    "h": 152.3
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#516255
secondary
#8F7F8C
accent
#75A4B2
background
#F7F8F8
surface
#EEF0EF
border
#C9CBCA
text
#0A0C0B
muted
#7C7D7C

Preview Lab

Preview with #516255

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

Preview Lab → · Contrast checker → · Palette generator →

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