#54591A#54591A

#54591A is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.6% C 0.085 H 113.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#54591A
RGBrgb(84, 89, 26)
HSLhsl(65, 55%, 23%)
HSVhsv(65, 71%, 35%)
CMYKcmyk(5.6%, 0%, 70.8%, 65.1%)
CIE-LABlab(36.18, -11.28, 34.34)
CIE-LCHlch(36.18, 36.14, 108.19°)
OKLaboklab(44.6% -0.034 0.0775)
OKLCHoklch(44.6% 0.085 113.7)
XYZxyz(7.4152, 9.1043, 2.3438)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54591A #1F1A59
analogous
#593F1A #54591A #34591A
triadic
#54591A #1A5459 #591A54
tetradic
#54591A #1A593F #1F1A59 #591A34
square
#54591A #1A593F #1F1A59 #591A34
split-complementary
#54591A #1A3459 #3F1A59
monochromatic
#161807 #272A0C #54591A #818828 #ADB836

Accessibility & contrast

On white

7.44
#54591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#54591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54591A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54591A#FFFFFF#000000##FFFFFF
##54591A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605411
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#5A534C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #54591a;
/* rgb */ color: rgb(84, 89, 26);
/* oklch */ color: oklch(44.6% 0.085 113.7);
Tailwind
colors: {
  custom: {
    50: '#86875a',
    500: '#54591a',
    950: '#000000',
  },
}
SCSS
$custom: #54591a;
$custom-light: #86875a;
$custom-dark: #000000;
JSON
{
  "hex": "#54591a",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 64.762,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.08464,
    "h": 113.7
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#54591A
secondary
#46408F
accent
#4ADE55
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54591A

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

Preview Lab → · Contrast checker → · Palette generator →

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