#54511A#54511A

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

Color values

HEX#54511A
RGBrgb(84, 81, 26)
HSLhsl(57, 53%, 22%)
HSVhsv(57, 69%, 33%)
CMYKcmyk(0%, 3.6%, 69%, 67.1%)
CIE-LABlab(33.66, -6.62, 31.69)
CIE-LCHlch(33.66, 32.38, 101.80°)
OKLaboklab(42.58% -0.0209 0.0719)
OKLCHoklch(42.58% 0.075 106.2)
XYZxyz(6.7853, 7.8445, 2.1338)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54511A #1A1D54
analogous
#54341A #54511A #3A541A
triadic
#54511A #1A5451 #511A54
tetradic
#54511A #1A5434 #1A1D54 #541A3A
square
#54511A #1A5434 #1A1D54 #541A3A
split-complementary
#54511A #1A3A54 #341A54
monochromatic
#171707 #25240C #54511A #837E28 #B1AB37

Accessibility & contrast

On white

8.18
#54511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54511A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54511A#FFFFFF#000000##FFFFFF
##54511A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54511a;
/* rgb */ color: rgb(84, 81, 26);
/* oklch */ color: oklch(42.6% 0.075 106.2);
Tailwind
colors: {
  custom: {
    50: '#86815a',
    500: '#54511a',
    950: '#000000',
  },
}
SCSS
$custom: #54511a;
$custom-light: #86815a;
$custom-dark: #000000;
JSON
{
  "hex": "#54511a",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 56.897,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.0749,
    "h": 106.2
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#54511A
secondary
#40448A
accent
#53DC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54511A

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

Preview Lab → · Contrast checker → · Palette generator →

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