#5C4E1B#5C4E1B

#5C4E1B is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.071 H 93.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#5C4E1B
RGBrgb(92, 78, 27)
HSLhsl(47, 55%, 23%)
HSVhsv(47, 71%, 36%)
CMYKcmyk(0%, 15.2%, 70.7%, 63.9%)
CIE-LABlab(33.57, -0.78, 31.35)
CIE-LCHlch(33.57, 31.36, 91.42°)
OKLaboklab(42.71% -0.0046 0.0711)
OKLCHoklch(42.71% 0.071 93.7)
XYZxyz(7.3362, 7.8036, 2.1565)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E1B #1B295C
analogous
#5C2D1B #5C4E1B #495C1B
triadic
#5C4E1B #1B5C4E #4E1B5C
tetradic
#5C4E1B #1B5C2D #1B295C #5C1B49
square
#5C4E1B #1B5C2D #1B295C #5C1B49
split-complementary
#5C4E1B #1B495C #2D1B5C
monochromatic
#181407 #2D260D #5C4E1B #8B7629 #BB9E37

Accessibility & contrast

On white

8.20
#5C4E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5C4E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4E1B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E1B#FFFFFF#000000##FFFFFF
##5C4E1B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D15
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#644843
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c4e1b;
/* rgb */ color: rgb(92, 78, 27);
/* oklch */ color: oklch(42.7% 0.071 93.7);
Tailwind
colors: {
  custom: {
    50: '#8d7f5a',
    500: '#5c4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e1b;
$custom-light: #8d7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e1b",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 47.077,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.07128,
    "h": 93.7
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#5C4E1B
secondary
#415292
accent
#6ADE4A
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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