#54541E#54541E

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

Color values

HEX#54541E
RGBrgb(84, 84, 30)
HSLhsl(60, 47%, 22%)
HSVhsv(60, 64%, 33%)
CMYKcmyk(0%, 0%, 64.3%, 67.1%)
CIE-LABlab(34.64, -8.08, 30.75)
CIE-LCHlch(34.64, 31.80, 104.73°)
OKLaboklab(43.38% -0.0245 0.0706)
OKLCHoklch(43.38% 0.075 109.1)
XYZxyz(7.0610, 8.3194, 2.4619)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54541E #1E1E54
analogous
#54391E #54541E #39541E
triadic
#54541E #1E5454 #541E54
tetradic
#54541E #1E5439 #1E1E54 #541E39
square
#54541E #1E5439 #1E1E54 #541E39
split-complementary
#54541E #1E3954 #391E54
monochromatic
#171708 #27270E #54541E #81812E #AEAE3E

Accessibility & contrast

On white

7.88
#54541E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54541E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54541E#FFFFFF#000000##FFFFFF
##54541E1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5018
Deuteranopia (green-blind)
#5C5221
Tritanopia (blue-blind)
#5A4F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54541e;
/* rgb */ color: rgb(84, 84, 30);
/* oklch */ color: oklch(43.4% 0.075 109.1);
Tailwind
colors: {
  custom: {
    50: '#86845c',
    500: '#54541e',
    950: '#000000',
  },
}
SCSS
$custom: #54541e;
$custom-light: #86845c;
$custom-dark: #000000;
JSON
{
  "hex": "#54541e",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43375,
    "c": 0.07472,
    "h": 109.1
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#54541E
secondary
#454589
accent
#51D751
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54541E

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

Preview Lab → · Contrast checker → · Palette generator →

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