#545756#545756

#545756 is a mid, near-neutral grey. Relative luminance 0.094; OKLCH L 45.4% C 0.004 H 174.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#545756
RGBrgb(84, 87, 86)
HSLhsl(160, 2%, 34%)
HSVhsv(160, 3%, 34%)
CMYKcmyk(3.4%, 0%, 1.1%, 65.9%)
CIE-LABlab(36.69, -1.41, 0.16)
CIE-LCHlch(36.69, 1.42, 173.40°)
OKLaboklab(45.37% -0.0041 0.0004)
OKLCHoklch(45.37% 0.004 174.3)
XYZxyz(8.7438, 9.3731, 10.1508)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545756 #575455
analogous
#545754 #545756 #545657
triadic
#545756 #565457 #575654
tetradic
#545756 #545457 #575455 #565754
square
#545756 #545457 #575455 #565754
split-complementary
#545756 #575456 #575454
monochromatic
#181918 #363837 #545756 #727675 #919593

Accessibility & contrast

On white

7.31
#545756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#545756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545756
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545756#FFFFFF#000000##FFFFFF
##5457561.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575756
Deuteranopia (green-blind)
#565656
Tritanopia (blue-blind)
#535757
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545756;
/* rgb */ color: rgb(84, 87, 86);
/* oklch */ color: oklch(45.4% 0.004 174.3);
Tailwind
colors: {
  custom: {
    50: '#848685',
    500: '#545756',
    950: '#000000',
  },
}
SCSS
$custom: #545756;
$custom-light: #848685;
$custom-dark: #000000;
JSON
{
  "hex": "#545756",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 86
  },
  "hsl": {
    "h": 160,
    "s": 1.754,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45372,
    "c": 0.00415,
    "h": 174.3
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#545756
secondary
#858283
accent
#7D8CAB
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #545756

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

Preview Lab → · Contrast checker → · Palette generator →

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