#545954#545954

#545954 is a mid, near-neutral grey. Relative luminance 0.097; OKLCH L 45.8% C 0.010 H 145.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#545954
RGBrgb(84, 89, 84)
HSLhsl(120, 3%, 34%)
HSVhsv(120, 6%, 35%)
CMYKcmyk(5.6%, 0%, 5.6%, 65.1%)
CIE-LABlab(37.24, -3.06, 2.21)
CIE-LCHlch(37.24, 3.77, 144.15°)
OKLaboklab(45.79% -0.0084 0.0058)
OKLCHoklch(45.79% 0.01 145.4)
XYZxyz(8.8285, 9.6696, 9.7871)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545954 #595459
analogous
#575954 #545954 #545957
triadic
#545954 #545459 #595454
tetradic
#545954 #545759 #595459 #595754
square
#545954 #545759 #595459 #595754
split-complementary
#545954 #575459 #595457
monochromatic
#191A19 #363A36 #545954 #727872 #919791

Accessibility & contrast

On white

7.16
#545954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#545954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545954
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545954#FFFFFF#000000##FFFFFF
##5459541.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595854
Deuteranopia (green-blind)
#585754
Tritanopia (blue-blind)
#545957
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545954;
/* rgb */ color: rgb(84, 89, 84);
/* oklch */ color: oklch(45.8% 0.010 145.4);
Tailwind
colors: {
  custom: {
    50: '#848784',
    500: '#545954',
    950: '#000000',
  },
}
SCSS
$custom: #545954;
$custom-light: #848784;
$custom-dark: #000000;
JSON
{
  "hex": "#545954",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 84
  },
  "hsl": {
    "h": 120,
    "s": 2.89,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45786,
    "c": 0.01018,
    "h": 145.4
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#545954
secondary
#878287
accent
#7CACAC
background
#F8F8F8
surface
#EFEFEF
border
#CACACA
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #545954

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

Preview Lab → · Contrast checker → · Palette generator →

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