#545238#545238

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

Color values

HEX#545238
RGBrgb(84, 82, 56)
HSLhsl(56, 20%, 27%)
HSVhsv(56, 33%, 33%)
CMYKcmyk(0%, 2.4%, 33.3%, 67.1%)
CIE-LABlab(34.41, -3.89, 15.60)
CIE-LCHlch(34.41, 16.08, 104.00°)
OKLaboklab(43.32% -0.0099 0.039)
OKLCHoklch(43.32% 0.04 104.2)
XYZxyz(7.3873, 8.2051, 4.9352)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545238 #383A54
analogous
#544438 #545238 #485438
triadic
#545238 #385452 #523854
tetradic
#545238 #385444 #383A54 #543848
square
#545238 #385444 #383A54 #543848
split-complementary
#545238 #384854 #443854
monochromatic
#12120C #2F2E20 #545238 #797650 #9C986A

Accessibility & contrast

On white

7.95
#545238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#545238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545238
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545238#FFFFFF#000000##FFFFFF
##5452381.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575036
Deuteranopia (green-blind)
#575239
Tritanopia (blue-blind)
#584F4B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #545238;
/* rgb */ color: rgb(84, 82, 56);
/* oklch */ color: oklch(43.3% 0.040 104.2);
Tailwind
colors: {
  custom: {
    50: '#84826e',
    500: '#545238',
    950: '#000000',
  },
}
SCSS
$custom: #545238;
$custom-light: #84826e;
$custom-dark: #000000;
JSON
{
  "hex": "#545238",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 56
  },
  "hsl": {
    "h": 55.714,
    "s": 20,
    "l": 27.451
  },
  "oklch": {
    "l": 0.43317,
    "c": 0.04018,
    "h": 104.2
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#545238
secondary
#646684
accent
#71BD6B
background
#F8F7F6
surface
#EFEEEC
border
#CAC9C7
text
#0B0A07
muted
#7C7C7A

Preview Lab

Preview with #545238

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

Preview Lab → · Contrast checker → · Palette generator →

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