#54501D#54501D

#54501D is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.4% C 0.071 H 104.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#54501D
RGBrgb(84, 80, 29)
HSLhsl(56, 49%, 22%)
HSVhsv(56, 65%, 33%)
CMYKcmyk(0%, 4.8%, 65.5%, 67.1%)
CIE-LABlab(33.37, -5.79, 29.88)
CIE-LCHlch(33.37, 30.44, 100.97°)
OKLaboklab(42.36% -0.0181 0.0686)
OKLCHoklch(42.36% 0.071 104.8)
XYZxyz(6.7468, 7.7111, 2.2952)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54501D #1D2154
analogous
#54341D #54501D #3D541D
triadic
#54501D #1D5450 #501D54
tetradic
#54501D #1D5434 #1D2154 #541D3D
square
#54501D #1D5434 #1D2154 #541D3D
split-complementary
#54501D #1D3D54 #341D54
monochromatic
#171608 #27250D #54501D #817B2D #AFA73C

Accessibility & contrast

On white

8.26
#54501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#54501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54501D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54501D#FFFFFF#000000##FFFFFF
##54501D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#5A4B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #54501d;
/* rgb */ color: rgb(84, 80, 29);
/* oklch */ color: oklch(42.4% 0.071 104.8);
Tailwind
colors: {
  custom: {
    50: '#86805b',
    500: '#54501d',
    950: '#000000',
  },
}
SCSS
$custom: #54501d;
$custom-light: #86805b;
$custom-dark: #000000;
JSON
{
  "hex": "#54501d",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 55.636,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.07094,
    "h": 104.8
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#54501D
secondary
#444989
accent
#5AD850
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54501D

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

Preview Lab → · Contrast checker → · Palette generator →

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