#5C4B0F#5C4B0F

#5C4B0F is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.9% C 0.078 H 92.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5C4B0F
RGBrgb(92, 75, 15)
HSLhsl(47, 72%, 21%)
HSVhsv(47, 84%, 36%)
CMYKcmyk(0%, 18.5%, 83.7%, 63.9%)
CIE-LABlab(32.57, 0.38, 35.81)
CIE-LCHlch(32.57, 35.81, 89.40°)
OKLaboklab(41.89% -0.0029 0.078)
OKLCHoklch(41.89% 0.078 92.1)
XYZxyz(7.0163, 7.3424, 1.4995)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4B0F #0F205C
analogous
#5C240F #5C4B0F #465C0F
triadic
#5C4B0F #0F5C4B #4B0F5C
tetradic
#5C4B0F #0F5C24 #0F205C #5C0F46
square
#5C4B0F #0F5C24 #0F205C #5C0F46
split-complementary
#5C4B0F #0F465C #240F5C
monochromatic
#1A1504 #272006 #5C4B0F #917618 #C5A120

Accessibility & contrast

On white

8.51
#5C4B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5C4B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4B0F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4B0F#FFFFFF#000000##FFFFFF
##5C4B0F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A04
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#644440
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c4b0f;
/* rgb */ color: rgb(92, 75, 15);
/* oklch */ color: oklch(41.9% 0.078 92.1);
Tailwind
colors: {
  custom: {
    50: '#8d7d53',
    500: '#5c4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c4b0f;
$custom-light: #8d7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4b0f",
  "rgb": {
    "r": 92,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 46.753,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41893,
    "c": 0.07808,
    "h": 92.1
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#5C4B0F
secondary
#314795
accent
#61EF39
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5C4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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