#54560B#54560B

#54560B is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.091 H 111.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#54560B
RGBrgb(84, 86, 11)
HSLhsl(62, 77%, 19%)
HSVhsv(62, 87%, 34%)
CMYKcmyk(2.3%, 0%, 87.2%, 66.3%)
CIE-LABlab(35.13, -10.37, 39.19)
CIE-LCHlch(35.13, 40.54, 104.82°)
OKLaboklab(43.73% -0.033 0.0848)
OKLCHoklch(43.73% 0.091 111.3)
XYZxyz(7.0446, 8.5647, 1.5986)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54560B #0D0B56
analogous
#56330B #54560B #2F560B
triadic
#54560B #0B5456 #560B54
tetradic
#54560B #0B5633 #0D0B56 #560B2F
square
#54560B #0B5633 #0D0B56 #560B2F
split-complementary
#54560B #0B2F56 #330B56
monochromatic
#1A1B03 #1F2004 #54560B #898C12 #BEC319

Accessibility & contrast

On white

7.74
#54560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#54560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54560B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54560B#FFFFFF#000000##FFFFFF
##54560B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#5E5312
Tritanopia (blue-blind)
#5B5049
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #54560b;
/* rgb */ color: rgb(84, 86, 11);
/* oklch */ color: oklch(43.7% 0.091 111.3);
Tailwind
colors: {
  custom: {
    50: '#878553',
    500: '#54560b',
    950: '#000000',
  },
}
SCSS
$custom: #54560b;
$custom-light: #878553;
$custom-dark: #000000;
JSON
{
  "hex": "#54560b",
  "rgb": {
    "r": 84,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 61.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.43725,
    "c": 0.09101,
    "h": 111.3
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#54560B
secondary
#2E2B91
accent
#34F439
background
#F8F8F4
surface
#F0EFE7
border
#CBCAC3
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #54560B

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

Preview Lab → · Contrast checker → · Palette generator →

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