#54591D#54591D

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

Color values

HEX#54591D
RGBrgb(84, 89, 29)
HSLhsl(65, 51%, 23%)
HSVhsv(65, 67%, 35%)
CMYKcmyk(5.6%, 0%, 67.4%, 65.1%)
CIE-LABlab(36.21, -11.06, 32.95)
CIE-LCHlch(36.21, 34.76, 108.56°)
OKLaboklab(44.63% -0.033 0.0751)
OKLCHoklch(44.63% 0.082 113.7)
XYZxyz(7.4505, 9.1184, 2.5297)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54591D #221D59
analogous
#59401D #54591D #36591D
triadic
#54591D #1D5459 #591D54
tetradic
#54591D #1D5940 #221D59 #591D36
square
#54591D #1D5940 #221D59 #591D36
split-complementary
#54591D #1D3659 #401D59
monochromatic
#161708 #282B0E #54591D #80872C #ABB53B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54591D#FFFFFF#000000##FFFFFF
##54591D1.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)
#605516
Deuteranopia (green-blind)
#605621
Tritanopia (blue-blind)
#5A544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #54591d;
/* rgb */ color: rgb(84, 89, 29);
/* oklch */ color: oklch(44.6% 0.082 113.7);
Tailwind
colors: {
  custom: {
    50: '#86875c',
    500: '#54591d',
    950: '#000000',
  },
}
SCSS
$custom: #54591d;
$custom-light: #86875c;
$custom-dark: #000000;
JSON
{
  "hex": "#54591d",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 29
  },
  "hsl": {
    "h": 65,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.08204,
    "h": 113.7
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#54591D
secondary
#4A448E
accent
#4DDA59
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54591D

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

Preview Lab → · Contrast checker → · Palette generator →

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