#545754#545754

#545754 is a mid, near-neutral grey. Relative luminance 0.093; OKLCH L 45.3% C 0.006 H 145.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#545754
RGBrgb(84, 87, 84)
HSLhsl(120, 2%, 34%)
HSVhsv(120, 3%, 34%)
CMYKcmyk(3.4%, 0%, 3.4%, 65.9%)
CIE-LABlab(36.63, -1.84, 1.32)
CIE-LCHlch(36.63, 2.27, 144.27°)
OKLaboklab(45.31% -0.005 0.0035)
OKLCHoklch(45.31% 0.006 145.5)
XYZxyz(8.6643, 9.3413, 9.7324)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545754 #575457
analogous
#555754 #545754 #545755
triadic
#545754 #545457 #575454
tetradic
#545754 #545557 #575457 #575554
square
#545754 #545557 #575457 #575554
split-complementary
#545754 #555457 #575455
monochromatic
#181918 #363836 #545754 #727672 #919591

Accessibility & contrast

On white

7.32
#545754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545754
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545754#FFFFFF#000000##FFFFFF
##5457541.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575654
Deuteranopia (green-blind)
#575654
Tritanopia (blue-blind)
#545756
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545754;
/* rgb */ color: rgb(84, 87, 84);
/* oklch */ color: oklch(45.3% 0.006 145.5);
Tailwind
colors: {
  custom: {
    50: '#848684',
    500: '#545754',
    950: '#000000',
  },
}
SCSS
$custom: #545754;
$custom-light: #848684;
$custom-dark: #000000;
JSON
{
  "hex": "#545754",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 84
  },
  "hsl": {
    "h": 120,
    "s": 1.754,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45305,
    "c": 0.00613,
    "h": 145.5
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#545754
secondary
#858285
accent
#7DABAB
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545754

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

Preview Lab → · Contrast checker → · Palette generator →

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