#5C571D#5C571D

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

Color values

HEX#5C571D
RGBrgb(92, 87, 29)
HSLhsl(55, 52%, 24%)
HSVhsv(55, 68%, 36%)
CMYKcmyk(0%, 5.4%, 68.5%, 63.9%)
CIE-LABlab(36.33, -6.04, 33.30)
CIE-LCHlch(36.33, 33.84, 100.28°)
OKLaboklab(44.9% -0.0194 0.0756)
OKLCHoklch(44.9% 0.078 104.4)
XYZxyz(8.0439, 9.1807, 2.5105)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C571D #1D225C
analogous
#5C371D #5C571D #415C1D
triadic
#5C571D #1D5C57 #571D5C
tetradic
#5C571D #1D5C37 #1D225C #5C1D41
square
#5C571D #1D5C37 #1D225C #5C1D41
split-complementary
#5C571D #1D415C #371D5C
monochromatic
#171607 #2D2B0E #5C571D #8B832C #B9AF3A

Accessibility & contrast

On white

7.40
#5C571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5C571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C571D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C571D#FFFFFF#000000##FFFFFF
##5C571D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5416
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#63514B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c571d;
/* rgb */ color: rgb(92, 87, 29);
/* oklch */ color: oklch(44.9% 0.078 104.4);
Tailwind
colors: {
  custom: {
    50: '#8c865c',
    500: '#5c571d',
    950: '#000000',
  },
}
SCSS
$custom: #5c571d;
$custom-light: #8c865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c571d",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 55.238,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44904,
    "c": 0.07805,
    "h": 104.4
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#5C571D
secondary
#444A91
accent
#58DC4C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C571D

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

Preview Lab → · Contrast checker → · Palette generator →

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