#5C4A0F#5C4A0F

#5C4A0F is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.7% C 0.077 H 90.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5C4A0F
RGBrgb(92, 74, 15)
HSLhsl(46, 72%, 21%)
HSVhsv(46, 84%, 36%)
CMYKcmyk(0%, 19.6%, 83.7%, 63.9%)
CIE-LABlab(32.28, 0.99, 35.53)
CIE-LCHlch(32.28, 35.55, 88.40°)
OKLaboklab(41.66% -0.0011 0.0774)
OKLCHoklch(41.66% 0.077 90.8)
XYZxyz(6.9490, 7.2078, 1.4771)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4A0F #0F215C
analogous
#5C230F #5C4A0F #475C0F
triadic
#5C4A0F #0F5C4A #4A0F5C
tetradic
#5C4A0F #0F5C23 #0F215C #5C0F47
square
#5C4A0F #0F5C23 #0F215C #5C0F47
split-complementary
#5C4A0F #0F475C #230F5C
monochromatic
#1A1504 #272006 #5C4A0F #917418 #C59F20

Accessibility & contrast

On white

8.60
#5C4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5C4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4A0F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4A0F#FFFFFF#000000##FFFFFF
##5C4A0F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534904
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#64433F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c4a0f;
/* rgb */ color: rgb(92, 74, 15);
/* oklch */ color: oklch(41.7% 0.077 90.8);
Tailwind
colors: {
  custom: {
    50: '#8d7c53',
    500: '#5c4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c4a0f;
$custom-light: #8d7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4a0f",
  "rgb": {
    "r": 92,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 45.974,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41657,
    "c": 0.07745,
    "h": 90.8
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#5C4A0F
secondary
#314995
accent
#64EF39
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0902
muted
#7E7B78

Preview Lab

Preview with #5C4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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