#5C571C#5C571C

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

Color values

HEX#5C571C
RGBrgb(92, 87, 28)
HSLhsl(55, 53%, 24%)
HSVhsv(55, 70%, 36%)
CMYKcmyk(0%, 5.4%, 69.6%, 63.9%)
CIE-LABlab(36.32, -6.11, 33.77)
CIE-LCHlch(36.32, 34.32, 100.25°)
OKLaboklab(44.89% -0.0197 0.0764)
OKLCHoklch(44.89% 0.079 104.5)
XYZxyz(8.0317, 9.1758, 2.4464)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C571C #1C215C
analogous
#5C371C #5C571C #415C1C
triadic
#5C571C #1C5C57 #571C5C
tetradic
#5C571C #1C5C37 #1C215C #5C1C41
square
#5C571C #1C5C37 #1C215C #5C1C41
split-complementary
#5C571C #1C415C #371C5C
monochromatic
#171607 #2D2B0E #5C571C #8B832A #BAB039

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C571C#FFFFFF#000000##FFFFFF
##5C571C1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c571c;
/* rgb */ color: rgb(92, 87, 28);
/* oklch */ color: oklch(44.9% 0.079 104.5);
Tailwind
colors: {
  custom: {
    50: '#8c865c',
    500: '#5c571c',
    950: '#000000',
  },
}
SCSS
$custom: #5c571c;
$custom-light: #8c865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c571c",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 55.313,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44894,
    "c": 0.07892,
    "h": 104.5
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#5C571C
secondary
#424991
accent
#56DD4B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C571C

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

Preview Lab → · Contrast checker → · Palette generator →

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