#54561B#54561B

#54561B is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.8% C 0.080 H 111.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#54561B
RGBrgb(84, 86, 27)
HSLhsl(62, 52%, 22%)
HSVhsv(62, 69%, 34%)
CMYKcmyk(2.3%, 0%, 68.6%, 66.3%)
CIE-LABlab(35.24, -9.48, 32.88)
CIE-LCHlch(35.24, 34.22, 106.09°)
OKLaboklab(43.85% -0.0288 0.0746)
OKLCHoklch(43.85% 0.08 111.1)
XYZxyz(7.1820, 8.6197, 2.3221)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54561B #1D1B56
analogous
#563B1B #54561B #37561B
triadic
#54561B #1B5456 #561B54
tetradic
#54561B #1B563B #1D1B56 #561B37
square
#54561B #1B563B #1D1B56 #561B37
split-complementary
#54561B #1B3756 #3B1B56
monochromatic
#171707 #27270C #54561B #81852A #AFB338

Accessibility & contrast

On white

7.71
#54561B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#54561B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54561B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54561B#FFFFFF#000000##FFFFFF
##54561B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5213
Deuteranopia (green-blind)
#5D541F
Tritanopia (blue-blind)
#5A514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #54561b;
/* rgb */ color: rgb(84, 86, 27);
/* oklch */ color: oklch(43.8% 0.080 111.1);
Tailwind
colors: {
  custom: {
    50: '#86855b',
    500: '#54561b',
    950: '#000000',
  },
}
SCSS
$custom: #54561b;
$custom-light: #86855b;
$custom-dark: #000000;
JSON
{
  "hex": "#54561b",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 62.034,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.08,
    "h": 111.1
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#54561B
secondary
#44418C
accent
#4CDC51
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54561B

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

Preview Lab → · Contrast checker → · Palette generator →

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