#54531B#54531B

#54531B is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.076 H 108.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#54531B
RGBrgb(84, 83, 27)
HSLhsl(59, 51%, 22%)
HSVhsv(59, 68%, 33%)
CMYKcmyk(0%, 1.2%, 67.9%, 67.1%)
CIE-LABlab(34.29, -7.73, 31.88)
CIE-LCHlch(34.29, 32.80, 103.63°)
OKLaboklab(43.09% -0.0239 0.0725)
OKLCHoklch(43.09% 0.076 108.2)
XYZxyz(6.9475, 8.1507, 2.2440)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54531B #1B1C54
analogous
#54371B #54531B #39541B
triadic
#54531B #1B5453 #531B54
tetradic
#54531B #1B5437 #1B1C54 #541B39
square
#54531B #1B5437 #1B1C54 #541B39
split-complementary
#54531B #1B3954 #371B54
monochromatic
#171707 #26250C #54531B #82812A #B1AF39

Accessibility & contrast

On white

7.98
#54531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#54531B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54531B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54531B#FFFFFF#000000##FFFFFF
##54531B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5014
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#5A4D47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54531b;
/* rgb */ color: rgb(84, 83, 27);
/* oklch */ color: oklch(43.1% 0.076 108.2);
Tailwind
colors: {
  custom: {
    50: '#86835a',
    500: '#54531b',
    950: '#000000',
  },
}
SCSS
$custom: #54531b;
$custom-light: #86835a;
$custom-dark: #000000;
JSON
{
  "hex": "#54531b",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 58.947,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43091,
    "c": 0.07633,
    "h": 108.2
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#54531B
secondary
#41428A
accent
#4FDB4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54531B

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

Preview Lab → · Contrast checker → · Palette generator →

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