#54581A#54581A

#54581A is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.3% C 0.083 H 112.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#54581A
RGBrgb(84, 88, 26)
HSLhsl(64, 54%, 22%)
HSVhsv(64, 70%, 35%)
CMYKcmyk(4.5%, 0%, 70.5%, 65.5%)
CIE-LABlab(35.87, -10.71, 34.01)
CIE-LCHlch(35.87, 35.66, 107.48°)
OKLaboklab(44.34% -0.0324 0.0768)
OKLCHoklch(44.34% 0.083 112.9)
XYZxyz(7.3325, 8.9390, 2.3162)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54581A #1E1A58
analogous
#583D1A #54581A #35581A
triadic
#54581A #1A5458 #581A54
tetradic
#54581A #1A583D #1E1A58 #581A35
square
#54581A #1A583D #1E1A58 #581A35
split-complementary
#54581A #1A3558 #3D1A58
monochromatic
#171807 #27290C #54581A #818728 #AEB636

Accessibility & contrast

On white

7.53
#54581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#54581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54581A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54581A#FFFFFF#000000##FFFFFF
##54581A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5412
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#5A524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #54581a;
/* rgb */ color: rgb(84, 88, 26);
/* oklch */ color: oklch(44.3% 0.083 112.9);
Tailwind
colors: {
  custom: {
    50: '#86875a',
    500: '#54581a',
    950: '#000000',
  },
}
SCSS
$custom: #54581a;
$custom-light: #86875a;
$custom-dark: #000000;
JSON
{
  "hex": "#54581a",
  "rgb": {
    "r": 84,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 63.871,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44344,
    "c": 0.08338,
    "h": 112.9
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#54581A
secondary
#45408E
accent
#4ADE54
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54581A

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

Preview Lab → · Contrast checker → · Palette generator →

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