#545142#545142

#545142 is a dark, muted yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.024 H 97.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#545142
RGBrgb(84, 81, 66)
HSLhsl(50, 12%, 29%)
HSVhsv(50, 21%, 33%)
CMYKcmyk(0%, 3.6%, 21.4%, 67.1%)
CIE-LABlab(34.32, -1.66, 9.28)
CIE-LCHlch(34.32, 9.43, 100.14°)
OKLaboklab(43.32% -0.0033 0.0238)
OKLCHoklch(43.32% 0.024 97.9)
XYZxyz(7.5819, 8.1631, 6.3294)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545142 #424554
analogous
#544842 #545142 #4E5442
triadic
#545142 #425451 #514254
tetradic
#545142 #425448 #424554 #54424E
square
#545142 #425448 #424554 #54424E
split-complementary
#545142 #424E54 #484254
monochromatic
#11110D #323027 #545142 #76725D #96927A

Accessibility & contrast

On white

7.98
#545142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#545142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545142
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545142#FFFFFF#000000##FFFFFF
##5451421.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545041
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#574F4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #545142;
/* rgb */ color: rgb(84, 81, 66);
/* oklch */ color: oklch(43.3% 0.024 97.9);
Tailwind
colors: {
  custom: {
    50: '#848176',
    500: '#545142',
    950: '#000000',
  },
}
SCSS
$custom: #545142;
$custom-light: #848176;
$custom-dark: #000000;
JSON
{
  "hex": "#545142",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 50,
    "s": 12,
    "l": 29.412
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.02405,
    "h": 97.9
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#545142
secondary
#6F7283
accent
#7EB573
background
#F8F7F7
surface
#EFEEED
border
#CAC9C8
text
#0B0A08
muted
#7C7C7B

Preview Lab

Preview with #545142

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

Preview Lab → · Contrast checker → · Palette generator →

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