#5C571B#5C571B

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

Color values

HEX#5C571B
RGBrgb(92, 87, 27)
HSLhsl(55, 55%, 23%)
HSVhsv(55, 71%, 36%)
CMYKcmyk(0%, 5.4%, 70.7%, 63.9%)
CIE-LABlab(36.31, -6.18, 34.24)
CIE-LCHlch(36.31, 34.79, 100.23°)
OKLaboklab(44.88% -0.02 0.0772)
OKLCHoklch(44.88% 0.08 104.5)
XYZxyz(8.0200, 9.1711, 2.3844)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C571B #1B205C
analogous
#5C361B #5C571B #405C1B
triadic
#5C571B #1B5C57 #571B5C
tetradic
#5C571B #1B5C36 #1B205C #5C1B40
square
#5C571B #1B5C36 #1B205C #5C1B40
split-complementary
#5C571B #1B405C #361B5C
monochromatic
#181607 #2D2A0D #5C571B #8B8429 #BBB037

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C571B#FFFFFF#000000##FFFFFF
##5C571B1.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)
#5F5413
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#63514B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c571b;
/* rgb */ color: rgb(92, 87, 27);
/* oklch */ color: oklch(44.9% 0.080 104.5);
Tailwind
colors: {
  custom: {
    50: '#8c865b',
    500: '#5c571b',
    950: '#000000',
  },
}
SCSS
$custom: #5c571b;
$custom-light: #8c865b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c571b",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 55.385,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44884,
    "c": 0.07979,
    "h": 104.5
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#5C571B
secondary
#414792
accent
#55DE4A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C571B

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

Preview Lab → · Contrast checker → · Palette generator →

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