#54584F#54584F

#54584F is a mid, near-neutral grey. Relative luminance 0.094; OKLCH L 45.4% C 0.015 H 126.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#54584F
RGBrgb(84, 88, 79)
HSLhsl(87, 5%, 33%)
HSVhsv(87, 10%, 35%)
CMYKcmyk(4.5%, 0%, 10.2%, 65.5%)
CIE-LABlab(36.80, -3.48, 4.67)
CIE-LCHlch(36.80, 5.83, 126.67°)
OKLaboklab(45.39% -0.0091 0.0122)
OKLCHoklch(45.39% 0.015 126.6)
XYZxyz(8.5569, 9.4288, 8.7648)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54584F #534F58
analogous
#58574F #54584F #4F584F
triadic
#54584F #4F5458 #584F54
tetradic
#54584F #4F5857 #534F58 #584F4F
square
#54584F #4F5857 #534F58 #584F4F
split-complementary
#54584F #4F4F58 #574F58
monochromatic
#161815 #353832 #54584F #73786C #91978B

Accessibility & contrast

On white

7.28
#54584F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#54584F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54584F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54584F#FFFFFF#000000##FFFFFF
##54584F1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59574F
Deuteranopia (green-blind)
#58564F
Tritanopia (blue-blind)
#555755
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #54584f;
/* rgb */ color: rgb(84, 88, 79);
/* oklch */ color: oklch(45.4% 0.015 126.6);
Tailwind
colors: {
  custom: {
    50: '#848780',
    500: '#54584f',
    950: '#000000',
  },
}
SCSS
$custom: #54584f;
$custom-light: #848780;
$custom-dark: #000000;
JSON
{
  "hex": "#54584f",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 79
  },
  "hsl": {
    "h": 86.667,
    "s": 5.389,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.01518,
    "h": 126.6
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#54584F
secondary
#817D86
accent
#79AF91
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #54584F

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

Preview Lab → · Contrast checker → · Palette generator →

#54584F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva