#5C541B#5C541B

#5C541B is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.2% C 0.077 H 101.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5C541B
RGBrgb(92, 84, 27)
HSLhsl(53, 55%, 23%)
HSVhsv(53, 71%, 36%)
CMYKcmyk(0%, 8.7%, 70.7%, 63.9%)
CIE-LABlab(35.39, -4.40, 33.28)
CIE-LCHlch(35.39, 33.57, 97.53°)
OKLaboklab(44.15% -0.015 0.0752)
OKLCHoklch(44.15% 0.077 101.3)
XYZxyz(7.7821, 8.6954, 2.3052)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C541B #1B235C
analogous
#5C331B #5C541B #435C1B
triadic
#5C541B #1B5C54 #541B5C
tetradic
#5C541B #1B5C33 #1B235C #5C1B43
square
#5C541B #1B5C33 #1B235C #5C1B43
split-complementary
#5C541B #1B435C #331B5C
monochromatic
#181607 #2D290D #5C541B #8B7F29 #BBAA37

Accessibility & contrast

On white

7.67
#5C541B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5C541B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C541B
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C541B#FFFFFF#000000##FFFFFF
##5C541B1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5114
Deuteranopia (green-blind)
#5E551E
Tritanopia (blue-blind)
#634E48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c541b;
/* rgb */ color: rgb(92, 84, 27);
/* oklch */ color: oklch(44.2% 0.077 101.3);
Tailwind
colors: {
  custom: {
    50: '#8c835b',
    500: '#5c541b',
    950: '#000000',
  },
}
SCSS
$custom: #5c541b;
$custom-light: #8c835b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c541b",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 52.615,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.07668,
    "h": 101.3
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#5C541B
secondary
#414B92
accent
#5CDE4A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C541B

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

Preview Lab → · Contrast checker → · Palette generator →

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