#545246#545246

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

Color values

HEX#545246
RGBrgb(84, 82, 70)
HSLhsl(51, 9%, 30%)
HSVhsv(51, 17%, 33%)
CMYKcmyk(0%, 2.4%, 16.7%, 67.1%)
CIE-LABlab(34.73, -1.56, 7.35)
CIE-LCHlch(34.73, 7.51, 101.97°)
OKLaboklab(43.67% -0.0031 0.019)
OKLCHoklch(43.67% 0.019 99.4)
XYZxyz(7.7789, 8.3617, 6.9973)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545246 #464854
analogous
#544B46 #545246 #4F5446
triadic
#545246 #465452 #524654
tetradic
#545246 #46544B #464854 #54464F
square
#545246 #46544B #464854 #54464F
split-complementary
#545246 #464F54 #4B4654
monochromatic
#11110E #33312A #545246 #757362 #959280

Accessibility & contrast

On white

7.86
#545246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545246
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545246#FFFFFF#000000##FFFFFF
##5452461.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545246;
/* rgb */ color: rgb(84, 82, 70);
/* oklch */ color: oklch(43.7% 0.019 99.4);
Tailwind
colors: {
  custom: {
    50: '#848279',
    500: '#545246',
    950: '#000000',
  },
}
SCSS
$custom: #545246;
$custom-light: #848279;
$custom-dark: #000000;
JSON
{
  "hex": "#545246",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 70
  },
  "hsl": {
    "h": 51.429,
    "s": 9.091,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43674,
    "c": 0.01925,
    "h": 99.4
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#545246
secondary
#737583
accent
#7EB276
background
#F8F7F7
surface
#EFEEED
border
#CAC9C8
text
#0A0A09
muted
#7C7C7B

Preview Lab

Preview with #545246

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

Preview Lab → · Contrast checker → · Palette generator →

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