#5C571A#5C571A

#5C571A is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.9% C 0.081 H 104.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5C571A
RGBrgb(92, 87, 26)
HSLhsl(55, 56%, 23%)
HSVhsv(55, 72%, 36%)
CMYKcmyk(0%, 5.4%, 71.7%, 63.9%)
CIE-LABlab(36.30, -6.24, 34.69)
CIE-LCHlch(36.30, 35.25, 100.20°)
OKLaboklab(44.87% -0.0203 0.078)
OKLCHoklch(44.87% 0.081 104.6)
XYZxyz(8.0086, 9.1666, 2.3246)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C571A #1A1F5C
analogous
#5C361A #5C571A #405C1A
triadic
#5C571A #1A5C57 #571A5C
tetradic
#5C571A #1A5C36 #1A1F5C #5C1A40
square
#5C571A #1A5C36 #1A1F5C #5C1A40
split-complementary
#5C571A #1A405C #361A5C
monochromatic
#181707 #2C2A0D #5C571A #8C8427 #BBB135

Accessibility & contrast

On white

7.41
#5C571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5C571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C571A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C571A#FFFFFF#000000##FFFFFF
##5C571A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5412
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#63514B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c571a;
/* rgb */ color: rgb(92, 87, 26);
/* oklch */ color: oklch(44.9% 0.081 104.6);
Tailwind
colors: {
  custom: {
    50: '#8c865a',
    500: '#5c571a',
    950: '#000000',
  },
}
SCSS
$custom: #5c571a;
$custom-light: #8c865a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c571a",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 55.455,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44874,
    "c": 0.08062,
    "h": 104.6
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#5C571A
secondary
#404692
accent
#54DF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C571A

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

Preview Lab → · Contrast checker → · Palette generator →

#5C571A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva