#54591B#54591B

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

Color values

HEX#54591B
RGBrgb(84, 89, 27)
HSLhsl(65, 53%, 23%)
HSVhsv(65, 70%, 35%)
CMYKcmyk(5.6%, 0%, 69.7%, 65.1%)
CIE-LABlab(36.19, -11.21, 33.88)
CIE-LCHlch(36.19, 35.69, 108.31°)
OKLaboklab(44.61% -0.0337 0.0767)
OKLCHoklch(44.61% 0.084 113.7)
XYZxyz(7.4266, 9.1088, 2.4037)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54591B #201B59
analogous
#593F1B #54591B #35591B
triadic
#54591B #1B5459 #591B54
tetradic
#54591B #1B593F #201B59 #591B35
square
#54591B #1B593F #201B59 #591B35
split-complementary
#54591B #1B3559 #3F1B59
monochromatic
#161707 #282A0D #54591B #808829 #ADB737

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54591B#FFFFFF#000000##FFFFFF
##54591B1.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)
#605513
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#5A544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #54591b;
/* rgb */ color: rgb(84, 89, 27);
/* oklch */ color: oklch(44.6% 0.084 113.7);
Tailwind
colors: {
  custom: {
    50: '#86875b',
    500: '#54591b',
    950: '#000000',
  },
}
SCSS
$custom: #54591b;
$custom-light: #86875b;
$custom-dark: #000000;
JSON
{
  "hex": "#54591b",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 64.839,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.0838,
    "h": 113.7
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#54591B
secondary
#47418F
accent
#4BDD57
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54591B

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

Preview Lab → · Contrast checker → · Palette generator →

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