#54541D#54541D

#54541D is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.4% C 0.076 H 109.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#54541D
RGBrgb(84, 84, 29)
HSLhsl(60, 49%, 22%)
HSVhsv(60, 65%, 33%)
CMYKcmyk(0%, 0%, 65.5%, 67.1%)
CIE-LABlab(34.63, -8.16, 31.25)
CIE-LCHlch(34.63, 32.30, 104.64°)
OKLaboklab(43.36% -0.0249 0.0715)
OKLCHoklch(43.36% 0.076 109.2)
XYZxyz(7.0485, 8.3144, 2.3957)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54541D #1D1D54
analogous
#54391D #54541D #39541D
triadic
#54541D #1D5454 #541D54
tetradic
#54541D #1D5439 #1D1D54 #541D39
square
#54541D #1D5439 #1D1D54 #541D39
split-complementary
#54541D #1D3954 #391D54
monochromatic
#171708 #27270D #54541D #81812D #AFAF3C

Accessibility & contrast

On white

7.89
#54541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#54541D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54541D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54541D#FFFFFF#000000##FFFFFF
##54541D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5017
Deuteranopia (green-blind)
#5C5220
Tritanopia (blue-blind)
#5A4F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54541d;
/* rgb */ color: rgb(84, 84, 29);
/* oklch */ color: oklch(43.4% 0.076 109.2);
Tailwind
colors: {
  custom: {
    50: '#86845c',
    500: '#54541d',
    950: '#000000',
  },
}
SCSS
$custom: #54541d;
$custom-light: #86845c;
$custom-dark: #000000;
JSON
{
  "hex": "#54541d",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.07569,
    "h": 109.2
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#54541D
secondary
#444489
accent
#50D850
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54541D

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

Preview Lab → · Contrast checker → · Palette generator →

#54541D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva