#545420#545420

#545420 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.4% C 0.073 H 109.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#545420
RGBrgb(84, 84, 32)
HSLhsl(60, 45%, 23%)
HSVhsv(60, 62%, 33%)
CMYKcmyk(0%, 0%, 61.9%, 67.1%)
CIE-LABlab(34.66, -7.91, 29.75)
CIE-LCHlch(34.66, 30.78, 104.90°)
OKLaboklab(43.4% -0.0238 0.0688)
OKLCHoklch(43.4% 0.073 109.1)
XYZxyz(7.0874, 8.3299, 2.6007)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545420 #202054
analogous
#543A20 #545420 #3A5420
triadic
#545420 #205454 #542054
tetradic
#545420 #20543A #202054 #54203A
square
#545420 #20543A #202054 #54203A
split-complementary
#545420 #203A54 #3A2054
monochromatic
#161608 #28280F #545420 #808031 #ADAD42

Accessibility & contrast

On white

7.88
#545420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545420
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545420#FFFFFF#000000##FFFFFF
##5454201.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511A
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#5A4F49
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #545420;
/* rgb */ color: rgb(84, 84, 32);
/* oklch */ color: oklch(43.4% 0.073 109.1);
Tailwind
colors: {
  custom: {
    50: '#86845e',
    500: '#545420',
    950: '#000000',
  },
}
SCSS
$custom: #545420;
$custom-light: #86845e;
$custom-dark: #000000;
JSON
{
  "hex": "#545420",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 44.828,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43399,
    "c": 0.07275,
    "h": 109.1
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#545420
secondary
#474789
accent
#53D553
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #545420

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

Preview Lab → · Contrast checker → · Palette generator →

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