#54541C#54541C

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

Color values

HEX#54541C
RGBrgb(84, 84, 28)
HSLhsl(60, 50%, 22%)
HSVhsv(60, 67%, 33%)
CMYKcmyk(0%, 0%, 66.7%, 67.1%)
CIE-LABlab(34.62, -8.24, 31.74)
CIE-LCHlch(34.62, 32.79, 104.56°)
OKLaboklab(43.35% -0.0252 0.0724)
OKLCHoklch(43.35% 0.077 109.2)
XYZxyz(7.0363, 8.3095, 2.3316)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54541C #1C1C54
analogous
#54381C #54541C #38541C
triadic
#54541C #1C5454 #541C54
tetradic
#54541C #1C5438 #1C1C54 #541C38
square
#54541C #1C5438 #1C1C54 #541C38
split-complementary
#54541C #1C3854 #381C54
monochromatic
#171708 #26260D #54541C #82822B #B0B03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #54541c;
/* rgb */ color: rgb(84, 84, 28);
/* oklch */ color: oklch(43.4% 0.077 109.2);
Tailwind
colors: {
  custom: {
    50: '#86835b',
    500: '#54541c',
    950: '#000000',
  },
}
SCSS
$custom: #54541c;
$custom-light: #86835b;
$custom-dark: #000000;
JSON
{
  "hex": "#54541c",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.07663,
    "h": 109.2
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#54541C
secondary
#42428A
accent
#4EDA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54541C

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

Preview Lab → · Contrast checker → · Palette generator →

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