#54521C#54521C

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

Color values

HEX#54521C
RGBrgb(84, 82, 28)
HSLhsl(58, 50%, 22%)
HSVhsv(58, 67%, 33%)
CMYKcmyk(0%, 2.4%, 66.7%, 67.1%)
CIE-LABlab(33.99, -7.06, 31.06)
CIE-LCHlch(33.99, 31.85, 102.81°)
OKLaboklab(42.85% -0.0219 0.0709)
OKLCHoklch(42.85% 0.074 107.1)
XYZxyz(6.8833, 8.0035, 2.2806)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54521C #1C1E54
analogous
#54361C #54521C #3A541C
triadic
#54521C #1C5452 #521C54
tetradic
#54521C #1C5436 #1C1E54 #541C3A
square
#54521C #1C5436 #1C1E54 #541C3A
split-complementary
#54521C #1C3A54 #361C54
monochromatic
#171608 #26250D #54521C #827F2B #B0AC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54521C#FFFFFF#000000##FFFFFF
##54521C1.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)
#594F16
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#5A4D47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #54521c;
/* rgb */ color: rgb(84, 82, 28);
/* oklch */ color: oklch(42.9% 0.074 107.1);
Tailwind
colors: {
  custom: {
    50: '#86825b',
    500: '#54521c',
    950: '#000000',
  },
}
SCSS
$custom: #54521c;
$custom-light: #86825b;
$custom-dark: #000000;
JSON
{
  "hex": "#54521c",
  "rgb": {
    "r": 84,
    "g": 82,
    "b": 28
  },
  "hsl": {
    "h": 57.857,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42851,
    "c": 0.07422,
    "h": 107.1
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#54521C
secondary
#42458A
accent
#53DA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54521C

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

Preview Lab → · Contrast checker → · Palette generator →

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