#54571A#54571A

#54571A is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.1% C 0.082 H 112.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#54571A
RGBrgb(84, 87, 26)
HSLhsl(63, 54%, 22%)
HSVhsv(63, 70%, 34%)
CMYKcmyk(3.4%, 0%, 70.1%, 65.9%)
CIE-LABlab(35.55, -10.14, 33.68)
CIE-LCHlch(35.55, 35.17, 106.75°)
OKLaboklab(44.09% -0.0308 0.0761)
OKLCHoklch(44.09% 0.082 112)
XYZxyz(7.2510, 8.7760, 2.2890)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54571A #1D1A57
analogous
#573C1A #54571A #36571A
triadic
#54571A #1A5457 #571A54
tetradic
#54571A #1A573C #1D1A57 #571A36
square
#54571A #1A573C #1D1A57 #571A36
split-complementary
#54571A #1A3657 #3C1A57
monochromatic
#171807 #27280C #54571A #818628 #AFB536

Accessibility & contrast

On white

7.62
#54571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#54571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54571A
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54571A#FFFFFF#000000##FFFFFF
##54571A1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5312
Deuteranopia (green-blind)
#5E541E
Tritanopia (blue-blind)
#5A514B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #54571a;
/* rgb */ color: rgb(84, 87, 26);
/* oklch */ color: oklch(44.1% 0.082 112.0);
Tailwind
colors: {
  custom: {
    50: '#86865a',
    500: '#54571a',
    950: '#000000',
  },
}
SCSS
$custom: #54571a;
$custom-light: #86865a;
$custom-dark: #000000;
JSON
{
  "hex": "#54571a",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 62.951,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4409,
    "c": 0.08211,
    "h": 112
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#54571A
secondary
#44408D
accent
#4ADD52
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54571A

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

Preview Lab → · Contrast checker → · Palette generator →

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