#54571C#54571C

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

Color values

HEX#54571C
RGBrgb(84, 87, 28)
HSLhsl(63, 51%, 23%)
HSVhsv(63, 68%, 34%)
CMYKcmyk(3.4%, 0%, 67.8%, 65.9%)
CIE-LABlab(35.57, -9.99, 32.75)
CIE-LCHlch(35.57, 34.24, 106.96°)
OKLaboklab(44.11% -0.0301 0.0745)
OKLCHoklch(44.11% 0.08 112)
XYZxyz(7.2742, 8.7852, 2.4109)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54571C #1F1C57
analogous
#573D1C #54571C #36571C
triadic
#54571C #1C5457 #571C54
tetradic
#54571C #1C573D #1F1C57 #571C36
square
#54571C #1C573D #1F1C57 #571C36
split-complementary
#54571C #1C3657 #3D1C57
monochromatic
#161707 #27290D #54571C #81852B #ADB43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54571C#FFFFFF#000000##FFFFFF
##54571C1.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)
#5E5315
Deuteranopia (green-blind)
#5E5420
Tritanopia (blue-blind)
#5A524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #54571c;
/* rgb */ color: rgb(84, 87, 28);
/* oklch */ color: oklch(44.1% 0.080 112.0);
Tailwind
colors: {
  custom: {
    50: '#86865b',
    500: '#54571c',
    950: '#000000',
  },
}
SCSS
$custom: #54571c;
$custom-light: #86865b;
$custom-dark: #000000;
JSON
{
  "hex": "#54571c",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 63.051,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4411,
    "c": 0.08037,
    "h": 112
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#54571C
secondary
#46428D
accent
#4DDB54
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #54571C

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

Preview Lab → · Contrast checker → · Palette generator →

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