#545121#545121

#545121 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.068 H 105.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#545121
RGBrgb(84, 81, 33)
HSLhsl(56, 44%, 23%)
HSVhsv(56, 61%, 33%)
CMYKcmyk(0%, 3.6%, 60.7%, 67.1%)
CIE-LABlab(33.73, -6.05, 28.17)
CIE-LCHlch(33.73, 28.81, 102.12°)
OKLaboklab(42.66% -0.0183 0.0655)
OKLCHoklch(42.66% 0.068 105.6)
XYZxyz(6.8733, 7.8797, 2.5974)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545121 #212454
analogous
#543721 #545121 #3D5421
triadic
#545121 #215451 #512154
tetradic
#545121 #215437 #212454 #54213D
square
#545121 #215437 #212454 #54213D
split-complementary
#545121 #213D54 #372154
monochromatic
#161509 #282710 #545121 #807B32 #ACA644

Accessibility & contrast

On white

8.15
#545121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#545121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545121
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545121#FFFFFF#000000##FFFFFF
##5451211.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E1C
Deuteranopia (green-blind)
#595023
Tritanopia (blue-blind)
#5A4C46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #545121;
/* rgb */ color: rgb(84, 81, 33);
/* oklch */ color: oklch(42.7% 0.068 105.6);
Tailwind
colors: {
  custom: {
    50: '#86815e',
    500: '#545121',
    950: '#000000',
  },
}
SCSS
$custom: #545121;
$custom-light: #86815e;
$custom-dark: #000000;
JSON
{
  "hex": "#545121",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 56.471,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42663,
    "c": 0.06802,
    "h": 105.6
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#545121
secondary
#494C88
accent
#5CD354
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #545121

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

Preview Lab → · Contrast checker → · Palette generator →

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