#54541B#54541B

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

Color values

HEX#54541B
RGBrgb(84, 84, 27)
HSLhsl(60, 51%, 22%)
HSVhsv(60, 68%, 33%)
CMYKcmyk(0%, 0%, 67.9%, 67.1%)
CIE-LABlab(34.61, -8.32, 32.22)
CIE-LCHlch(34.61, 33.27, 104.48°)
OKLaboklab(43.34% -0.0255 0.0732)
OKLCHoklch(43.34% 0.078 109.2)
XYZxyz(7.0245, 8.3048, 2.2697)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54541B #1B1B54
analogous
#54381B #54541B #38541B
triadic
#54541B #1B5454 #541B54
tetradic
#54541B #1B5438 #1B1B54 #541B38
square
#54541B #1B5438 #1B1B54 #541B38
split-complementary
#54541B #1B3854 #381B54
monochromatic
#171707 #26260C #54541B #82822A #B1B139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54541B#FFFFFF#000000##FFFFFF
##54541B1.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)
#5B5014
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#5A4F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54541b;
/* rgb */ color: rgb(84, 84, 27);
/* oklch */ color: oklch(43.3% 0.078 109.2);
Tailwind
colors: {
  custom: {
    50: '#86835b',
    500: '#54541b',
    950: '#000000',
  },
}
SCSS
$custom: #54541b;
$custom-light: #86835b;
$custom-dark: #000000;
JSON
{
  "hex": "#54541b",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43342,
    "c": 0.07754,
    "h": 109.2
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#54541B
secondary
#41418A
accent
#4DDB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54541B

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

Preview Lab → · Contrast checker → · Palette generator →

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