#54591C#54591C

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

Color values

HEX#54591C
RGBrgb(84, 89, 28)
HSLhsl(65, 52%, 23%)
HSVhsv(65, 69%, 35%)
CMYKcmyk(5.6%, 0%, 68.5%, 65.1%)
CIE-LABlab(36.20, -11.14, 33.42)
CIE-LCHlch(36.20, 35.23, 108.43°)
OKLaboklab(44.62% -0.0334 0.0759)
OKLCHoklch(44.62% 0.083 113.7)
XYZxyz(7.4383, 9.1136, 2.4656)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54591C #211C59
analogous
#593F1C #54591C #35591C
triadic
#54591C #1C5459 #591C54
tetradic
#54591C #1C593F #211C59 #591C35
square
#54591C #1C593F #211C59 #591C35
split-complementary
#54591C #1C3559 #3F1C59
monochromatic
#161707 #282A0D #54591C #80882B #ACB639

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54591C#FFFFFF#000000##FFFFFF
##54591C1.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)
#605514
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#5A544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #54591c;
/* rgb */ color: rgb(84, 89, 28);
/* oklch */ color: oklch(44.6% 0.083 113.7);
Tailwind
colors: {
  custom: {
    50: '#86875c',
    500: '#54591c',
    950: '#000000',
  },
}
SCSS
$custom: #54591c;
$custom-light: #86875c;
$custom-dark: #000000;
JSON
{
  "hex": "#54591c",
  "rgb": {
    "r": 84,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 64.918,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44618,
    "c": 0.08293,
    "h": 113.7
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#54591C
secondary
#49428F
accent
#4CDC58
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54591C

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

Preview Lab → · Contrast checker → · Palette generator →

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