#54521B#54521B

#54521B is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.8% C 0.075 H 107.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#54521B
RGBrgb(84, 82, 27)
HSLhsl(58, 51%, 22%)
HSVhsv(58, 68%, 33%)
CMYKcmyk(0%, 2.4%, 67.9%, 67.1%)
CIE-LABlab(33.98, -7.14, 31.55)
CIE-LCHlch(33.98, 32.34, 102.75°)
OKLaboklab(42.84% -0.0222 0.0718)
OKLCHoklch(42.84% 0.075 107.2)
XYZxyz(6.8715, 7.9988, 2.2186)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54521B #1B1D54
analogous
#54361B #54521B #3A541B
triadic
#54521B #1B5452 #521B54
tetradic
#54521B #1B5436 #1B1D54 #541B3A
square
#54521B #1B5436 #1B1D54 #541B3A
split-complementary
#54521B #1B3A54 #361B54
monochromatic
#171707 #26250C #54521B #827F2A #B1AC39

Accessibility & contrast

On white

8.08
#54521B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#54521B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54521B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54521B#FFFFFF#000000##FFFFFF
##54521B1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F14
Deuteranopia (green-blind)
#5A511E
Tritanopia (blue-blind)
#5A4C46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #54521b;
/* rgb */ color: rgb(84, 82, 27);
/* oklch */ color: oklch(42.8% 0.075 107.2);
Tailwind
colors: {
  custom: {
    50: '#86825a',
    500: '#54521b',
    950: '#000000',
  },
}
SCSS
$custom: #54521b;
$custom-light: #86825a;
$custom-dark: #000000;
JSON
{
  "hex": "#54521b",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 27
  },
  "hsl": {
    "h": 57.895,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4284,
    "c": 0.07515,
    "h": 107.2
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#54521B
secondary
#41448A
accent
#52DB4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54521B

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

Preview Lab → · Contrast checker → · Palette generator →

#54521B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva