#545856#545856

#545856 is a mid, near-neutral grey. Relative luminance 0.095; OKLCH L 45.6% C 0.006 H 164.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#545856
RGBrgb(84, 88, 86)
HSLhsl(150, 2%, 34%)
HSVhsv(150, 5%, 35%)
CMYKcmyk(4.5%, 0%, 2.3%, 65.5%)
CIE-LABlab(37.00, -2.02, 0.61)
CIE-LCHlch(37.00, 2.11, 163.31°)
OKLaboklab(45.61% -0.0058 0.0016)
OKLCHoklch(45.61% 0.006 164.8)
XYZxyz(8.8253, 9.5361, 10.1780)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545856 #585456
analogous
#545854 #545856 #545858
triadic
#545856 #565458 #585654
tetradic
#545856 #545458 #585456 #585854
square
#545856 #545458 #585456 #585854
split-complementary
#545856 #585458 #585454
monochromatic
#181919 #363937 #545856 #727775 #919693

Accessibility & contrast

On white

7.22
#545856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#545856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545856
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545856#FFFFFF#000000##FFFFFF
##5458561.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585756
Deuteranopia (green-blind)
#575756
Tritanopia (blue-blind)
#535857
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545856;
/* rgb */ color: rgb(84, 88, 86);
/* oklch */ color: oklch(45.6% 0.006 164.8);
Tailwind
colors: {
  custom: {
    50: '#848785',
    500: '#545856',
    950: '#000000',
  },
}
SCSS
$custom: #545856;
$custom-light: #848785;
$custom-dark: #000000;
JSON
{
  "hex": "#545856",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 86
  },
  "hsl": {
    "h": 150,
    "s": 2.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.00601,
    "h": 164.8
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#545856
secondary
#868284
accent
#7C94AC
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #545856

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

Preview Lab → · Contrast checker → · Palette generator →

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