#54531C#54531C

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

Color values

HEX#54531C
RGBrgb(84, 83, 28)
HSLhsl(59, 50%, 22%)
HSVhsv(59, 67%, 33%)
CMYKcmyk(0%, 1.2%, 66.7%, 67.1%)
CIE-LABlab(34.30, -7.65, 31.40)
CIE-LCHlch(34.30, 32.32, 103.70°)
OKLaboklab(43.1% -0.0236 0.0716)
OKLCHoklch(43.1% 0.075 108.2)
XYZxyz(6.9592, 8.1554, 2.3059)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54531C #1C1D54
analogous
#54371C #54531C #39541C
triadic
#54531C #1C5453 #531C54
tetradic
#54531C #1C5437 #1C1D54 #541C39
square
#54531C #1C5437 #1C1D54 #541C39
split-complementary
#54531C #1C3954 #371C54
monochromatic
#171708 #26260D #54531C #82802B #B0AE3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54531C#FFFFFF#000000##FFFFFF
##54531C1.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)
#5A5015
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#5A4E47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #54531c;
/* rgb */ color: rgb(84, 83, 28);
/* oklch */ color: oklch(43.1% 0.075 108.2);
Tailwind
colors: {
  custom: {
    50: '#86835b',
    500: '#54531c',
    950: '#000000',
  },
}
SCSS
$custom: #54531c;
$custom-light: #86835b;
$custom-dark: #000000;
JSON
{
  "hex": "#54531c",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 28
  },
  "hsl": {
    "h": 58.929,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43102,
    "c": 0.07541,
    "h": 108.2
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#54531C
secondary
#42448A
accent
#51DA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54531C

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

Preview Lab → · Contrast checker → · Palette generator →

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