#54501C#54501C

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

Color values

HEX#54501C
RGBrgb(84, 80, 28)
HSLhsl(56, 50%, 22%)
HSVhsv(56, 67%, 33%)
CMYKcmyk(0%, 4.8%, 66.7%, 67.1%)
CIE-LABlab(33.36, -5.87, 30.38)
CIE-LCHlch(33.36, 30.94, 100.94°)
OKLaboklab(42.35% -0.0185 0.0695)
OKLCHoklch(42.35% 0.072 104.9)
XYZxyz(6.7347, 7.7062, 2.2311)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54501C #1C2054
analogous
#54341C #54501C #3C541C
triadic
#54501C #1C5450 #501C54
tetradic
#54501C #1C5434 #1C2054 #541C3C
square
#54501C #1C5434 #1C2054 #541C3C
split-complementary
#54501C #1C3C54 #341C54
monochromatic
#171608 #26240D #54501C #827C2B #B0A73B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54501C#FFFFFF#000000##FFFFFF
##54501C1.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)
#574D16
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#5A4B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #54501c;
/* rgb */ color: rgb(84, 80, 28);
/* oklch */ color: oklch(42.4% 0.072 104.9);
Tailwind
colors: {
  custom: {
    50: '#86805b',
    500: '#54501c',
    950: '#000000',
  },
}
SCSS
$custom: #54501c;
$custom-light: #86805b;
$custom-dark: #000000;
JSON
{
  "hex": "#54501c",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 55.714,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.07191,
    "h": 104.9
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#54501C
secondary
#42478A
accent
#58DA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54501C

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

Preview Lab → · Contrast checker → · Palette generator →

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