#5C4D0F#5C4D0F

#5C4D0F is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.4% C 0.079 H 94.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5C4D0F
RGBrgb(92, 77, 15)
HSLhsl(48, 72%, 21%)
HSVhsv(48, 84%, 36%)
CMYKcmyk(0%, 16.3%, 83.7%, 63.9%)
CIE-LABlab(33.17, -0.85, 36.36)
CIE-LCHlch(33.17, 36.37, 91.34°)
OKLaboklab(42.37% -0.0064 0.0792)
OKLCHoklch(42.37% 0.079 94.6)
XYZxyz(7.1541, 7.6180, 1.5454)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4D0F #0F1E5C
analogous
#5C260F #5C4D0F #445C0F
triadic
#5C4D0F #0F5C4D #4D0F5C
tetradic
#5C4D0F #0F5C26 #0F1E5C #5C0F44
square
#5C4D0F #0F5C26 #0F1E5C #5C0F44
split-complementary
#5C4D0F #0F445C #260F5C
monochromatic
#1A1604 #272106 #5C4D0F #917918 #C5A520

Accessibility & contrast

On white

8.32
#5C4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5C4D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4D0F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4D0F#FFFFFF#000000##FFFFFF
##5C4D0F1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B03
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#644641
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c4d0f;
/* rgb */ color: rgb(92, 77, 15);
/* oklch */ color: oklch(42.4% 0.079 94.6);
Tailwind
colors: {
  custom: {
    50: '#8d7e53',
    500: '#5c4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c4d0f;
$custom-light: #8d7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4d0f",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 48.312,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.07946,
    "h": 94.6
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#5C4D0F
secondary
#314595
accent
#5CEF39
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5C4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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