#54541F#54541F

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

Color values

HEX#54541F
RGBrgb(84, 84, 31)
HSLhsl(60, 46%, 23%)
HSVhsv(60, 63%, 33%)
CMYKcmyk(0%, 0%, 63.1%, 67.1%)
CIE-LABlab(34.65, -8.00, 30.25)
CIE-LCHlch(34.65, 31.29, 104.81°)
OKLaboklab(43.39% -0.0241 0.0697)
OKLCHoklch(43.39% 0.074 109.1)
XYZxyz(7.0740, 8.3246, 2.5302)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54541F #1F1F54
analogous
#54391F #54541F #39541F
triadic
#54541F #1F5454 #541F54
tetradic
#54541F #1F5439 #1F1F54 #541F39
square
#54541F #1F5439 #1F1F54 #541F39
split-complementary
#54541F #1F3954 #391F54
monochromatic
#161608 #27270F #54541F #81812F #ADAD40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54541F#FFFFFF#000000##FFFFFF
##54541F1.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)
#5B5019
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#5A4F49
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54541f;
/* rgb */ color: rgb(84, 84, 31);
/* oklch */ color: oklch(43.4% 0.074 109.1);
Tailwind
colors: {
  custom: {
    50: '#86845d',
    500: '#54541f',
    950: '#000000',
  },
}
SCSS
$custom: #54541f;
$custom-light: #86845d;
$custom-dark: #000000;
JSON
{
  "hex": "#54541f",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43387,
    "c": 0.07375,
    "h": 109.1
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#54541F
secondary
#464689
accent
#52D652
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54541F

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

Preview Lab → · Contrast checker → · Palette generator →

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