#54511B#54511B

#54511B is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.074 H 106.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#54511B
RGBrgb(84, 81, 27)
HSLhsl(57, 51%, 22%)
HSVhsv(57, 68%, 33%)
CMYKcmyk(0%, 3.6%, 67.9%, 67.1%)
CIE-LABlab(33.67, -6.54, 31.21)
CIE-LCHlch(33.67, 31.89, 101.84°)
OKLaboklab(42.59% -0.0205 0.0711)
OKLCHoklch(42.59% 0.074 106.1)
XYZxyz(6.7967, 7.8490, 2.1937)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54511B #1B1E54
analogous
#54351B #54511B #3B541B
triadic
#54511B #1B5451 #511B54
tetradic
#54511B #1B5435 #1B1E54 #541B3B
square
#54511B #1B5435 #1B1E54 #541B3B
split-complementary
#54511B #1B3B54 #351B54
monochromatic
#171607 #26240C #54511B #827E2A #B1AA39

Accessibility & contrast

On white

8.17
#54511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#54511B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54511B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54511B#FFFFFF#000000##FFFFFF
##54511B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E14
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#5A4B46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #54511b;
/* rgb */ color: rgb(84, 81, 27);
/* oklch */ color: oklch(42.6% 0.074 106.1);
Tailwind
colors: {
  custom: {
    50: '#86815a',
    500: '#54511b',
    950: '#000000',
  },
}
SCSS
$custom: #54511b;
$custom-light: #86815a;
$custom-dark: #000000;
JSON
{
  "hex": "#54511b",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 56.842,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4259,
    "c": 0.07399,
    "h": 106.1
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#54511B
secondary
#41458A
accent
#54DB4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54511B

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

Preview Lab → · Contrast checker → · Palette generator →

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