#5C4E17#5C4E17

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

Color values

HEX#5C4E17
RGBrgb(92, 78, 23)
HSLhsl(48, 60%, 23%)
HSVhsv(48, 75%, 36%)
CMYKcmyk(0%, 15.2%, 75%, 63.9%)
CIE-LABlab(33.53, -1.04, 33.26)
CIE-LCHlch(33.53, 33.28, 91.79°)
OKLaboklab(42.67% -0.0059 0.0744)
OKLCHoklch(42.67% 0.075 94.6)
XYZxyz(7.2930, 7.7863, 1.9292)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E17 #17255C
analogous
#5C2B17 #5C4E17 #485C17
triadic
#5C4E17 #175C4E #4E175C
tetradic
#5C4E17 #175C2B #17255C #5C1748
square
#5C4E17 #175C2B #17255C #5C1748
split-complementary
#5C4E17 #17485C #2B175C
monochromatic
#181506 #2B240B #5C4E17 #8D7823 #BEA12F

Accessibility & contrast

On white

8.21
#5C4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C4E17
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E17#FFFFFF#000000##FFFFFF
##5C4E171.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0F
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#644743
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c4e17;
/* rgb */ color: rgb(92, 78, 23);
/* oklch */ color: oklch(42.7% 0.075 94.6);
Tailwind
colors: {
  custom: {
    50: '#8d7f58',
    500: '#5c4e17',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e17;
$custom-light: #8d7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e17",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 47.826,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.07464,
    "h": 94.6
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#5C4E17
secondary
#3C4E93
accent
#65E345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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