#545247#545247

#545247 is a dark, near-neutral yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.018 H 98.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#545247
RGBrgb(84, 82, 71)
HSLhsl(51, 8%, 30%)
HSVhsv(51, 15%, 33%)
CMYKcmyk(0%, 2.4%, 15.5%, 67.1%)
CIE-LABlab(34.75, -1.37, 6.76)
CIE-LCHlch(34.75, 6.89, 101.49°)
OKLaboklab(43.7% -0.0026 0.0175)
OKLCHoklch(43.7% 0.018 98.6)
XYZxyz(7.8107, 8.3744, 7.1650)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545247 #474954
analogous
#544B47 #545247 #4F5447
triadic
#545247 #475452 #524754
tetradic
#545247 #47544B #474954 #54474F
square
#545247 #47544B #474954 #54474F
split-complementary
#545247 #474F54 #4B4754
monochromatic
#12110F #33322B #545247 #757263 #949181

Accessibility & contrast

On white

7.85
#545247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#545247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545247
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545247#FFFFFF#000000##FFFFFF
##5452471.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545146
Deuteranopia (green-blind)
#555247
Tritanopia (blue-blind)
#56504F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #545247;
/* rgb */ color: rgb(84, 82, 71);
/* oklch */ color: oklch(43.7% 0.018 98.6);
Tailwind
colors: {
  custom: {
    50: '#84827a',
    500: '#545247',
    950: '#000000',
  },
}
SCSS
$custom: #545247;
$custom-light: #84827a;
$custom-dark: #000000;
JSON
{
  "hex": "#545247",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 71
  },
  "hsl": {
    "h": 50.769,
    "s": 8.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43703,
    "c": 0.01771,
    "h": 98.6
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#545247
secondary
#747683
accent
#7FB176
background
#F8F7F7
surface
#EFEEED
border
#CAC9C8
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #545247

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

Preview Lab → · Contrast checker → · Palette generator →

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