#54531A#54531A

#54531A is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.077 H 108.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#54531A
RGBrgb(84, 83, 26)
HSLhsl(59, 53%, 22%)
HSVhsv(59, 69%, 33%)
CMYKcmyk(0%, 1.2%, 69%, 67.1%)
CIE-LABlab(34.29, -7.80, 32.36)
CIE-LCHlch(34.29, 33.28, 103.56°)
OKLaboklab(43.08% -0.0242 0.0733)
OKLCHoklch(43.08% 0.077 108.3)
XYZxyz(6.9361, 8.1461, 2.1841)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54531A #1A1B54
analogous
#54361A #54531A #38541A
triadic
#54531A #1A5453 #531A54
tetradic
#54531A #1A5436 #1A1B54 #541A38
square
#54531A #1A5436 #1A1B54 #541A38
split-complementary
#54531A #1A3854 #361A54
monochromatic
#171707 #25250C #54531A #838128 #B1AF37

Accessibility & contrast

On white

7.99
#54531A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54531A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54531A#FFFFFF#000000##FFFFFF
##54531A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54531a;
/* rgb */ color: rgb(84, 83, 26);
/* oklch */ color: oklch(43.1% 0.077 108.3);
Tailwind
colors: {
  custom: {
    50: '#86835a',
    500: '#54531a',
    950: '#000000',
  },
}
SCSS
$custom: #54531a;
$custom-light: #86835a;
$custom-dark: #000000;
JSON
{
  "hex": "#54531a",
  "rgb": {
    "r": 84,
    "g": 83,
    "b": 26
  },
  "hsl": {
    "h": 58.966,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4308,
    "c": 0.07723,
    "h": 108.3
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#54531A
secondary
#40418A
accent
#4EDC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #54531A

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

Preview Lab → · Contrast checker → · Palette generator →

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