#54571B#54571B

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

Color values

HEX#54571B
RGBrgb(84, 87, 27)
HSLhsl(63, 53%, 22%)
HSVhsv(63, 69%, 34%)
CMYKcmyk(3.4%, 0%, 69%, 65.9%)
CIE-LABlab(35.56, -10.06, 33.22)
CIE-LCHlch(35.56, 34.71, 106.85°)
OKLaboklab(44.1% -0.0305 0.0753)
OKLCHoklch(44.1% 0.081 112)
XYZxyz(7.2624, 8.7805, 2.3489)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54571B #1E1B57
analogous
#573C1B #54571B #36571B
triadic
#54571B #1B5457 #571B54
tetradic
#54571B #1B573C #1E1B57 #571B36
square
#54571B #1B573C #1E1B57 #571B36
split-complementary
#54571B #1B3657 #3C1B57
monochromatic
#171707 #27280D #54571B #818629 #AEB438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54571B#FFFFFF#000000##FFFFFF
##54571B1.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)
#5E5313
Deuteranopia (green-blind)
#5E541F
Tritanopia (blue-blind)
#5A524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #54571b;
/* rgb */ color: rgb(84, 87, 27);
/* oklch */ color: oklch(44.1% 0.081 112.0);
Tailwind
colors: {
  custom: {
    50: '#86865b',
    500: '#54571b',
    950: '#000000',
  },
}
SCSS
$custom: #54571b;
$custom-light: #86865b;
$custom-dark: #000000;
JSON
{
  "hex": "#54571b",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 63,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.441,
    "c": 0.08125,
    "h": 112
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#54571B
secondary
#45418D
accent
#4CDC53
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54571B

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

Preview Lab → · Contrast checker → · Palette generator →

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