#545138#545138

#545138 is a dark, muted yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.039 H 102.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#545138
RGBrgb(84, 81, 56)
HSLhsl(54, 20%, 27%)
HSVhsv(54, 33%, 33%)
CMYKcmyk(0%, 3.6%, 33.3%, 67.1%)
CIE-LABlab(34.10, -3.28, 15.19)
CIE-LCHlch(34.10, 15.54, 102.20°)
OKLaboklab(43.07% -0.0081 0.038)
OKLCHoklch(43.07% 0.039 102.1)
XYZxyz(7.3125, 8.0554, 4.9102)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545138 #383B54
analogous
#544338 #545138 #495438
triadic
#545138 #385451 #513854
tetradic
#545138 #385443 #383B54 #543849
square
#545138 #385443 #383B54 #543849
split-complementary
#545138 #384954 #433854
monochromatic
#12120C #2F2E20 #545138 #797450 #9C976A

Accessibility & contrast

On white

8.04
#545138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#545138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545138
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545138#FFFFFF#000000##FFFFFF
##5451381.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F36
Deuteranopia (green-blind)
#575139
Tritanopia (blue-blind)
#584E4A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #545138;
/* rgb */ color: rgb(84, 81, 56);
/* oklch */ color: oklch(43.1% 0.039 102.1);
Tailwind
colors: {
  custom: {
    50: '#84816e',
    500: '#545138',
    950: '#000000',
  },
}
SCSS
$custom: #545138;
$custom-light: #84816e;
$custom-dark: #000000;
JSON
{
  "hex": "#545138",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 53.571,
    "s": 20,
    "l": 27.451
  },
  "oklch": {
    "l": 0.43073,
    "c": 0.03884,
    "h": 102.1
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#545138
secondary
#646784
accent
#74BD6B
background
#F8F7F6
surface
#EFEEEC
border
#CAC9C7
text
#0B0A07
muted
#7C7C7A

Preview Lab

Preview with #545138

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

Preview Lab → · Contrast checker → · Palette generator →

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