#54541A#54541A

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

Color values

HEX#54541A
RGBrgb(84, 84, 26)
HSLhsl(60, 53%, 22%)
HSVhsv(60, 69%, 33%)
CMYKcmyk(0%, 0%, 69%, 67.1%)
CIE-LABlab(34.60, -8.39, 32.69)
CIE-LCHlch(34.60, 33.75, 104.40°)
OKLaboklab(43.33% -0.0259 0.074)
OKLCHoklch(43.33% 0.078 109.3)
XYZxyz(7.0132, 8.3002, 2.2098)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54541A #1A1A54
analogous
#54371A #54541A #37541A
triadic
#54541A #1A5454 #541A54
tetradic
#54541A #1A5437 #1A1A54 #541A37
square
#54541A #1A5437 #1A1A54 #541A37
split-complementary
#54541A #1A3754 #371A54
monochromatic
#171707 #25250C #54541A #838328 #B1B137

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54541A#FFFFFF#000000##FFFFFF
##54541A1.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)
#5B5012
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#5A4E48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54541a;
/* rgb */ color: rgb(84, 84, 26);
/* oklch */ color: oklch(43.3% 0.078 109.3);
Tailwind
colors: {
  custom: {
    50: '#86835a',
    500: '#54541a',
    950: '#000000',
  },
}
SCSS
$custom: #54541a;
$custom-light: #86835a;
$custom-dark: #000000;
JSON
{
  "hex": "#54541a",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43332,
    "c": 0.07842,
    "h": 109.3
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#54541A
secondary
#40408A
accent
#4CDC4C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54541A

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

Preview Lab → · Contrast checker → · Palette generator →

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