#5B4C0F#5B4C0F

#5B4C0F is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 42.0% C 0.079 H 94.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#5B4C0F
RGBrgb(91, 76, 15)
HSLhsl(48, 72%, 21%)
HSVhsv(48, 84%, 36%)
CMYKcmyk(0%, 16.5%, 83.5%, 64.3%)
CIE-LABlab(32.76, -0.74, 35.94)
CIE-LCHlch(32.76, 35.95, 91.18°)
OKLaboklab(42.02% -0.006 0.0784)
OKLCHoklch(42.02% 0.079 94.4)
XYZxyz(6.9854, 7.4279, 1.5176)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4C0F #0F1E5B
analogous
#5B260F #5B4C0F #445B0F
triadic
#5B4C0F #0F5B4C #4C0F5B
tetradic
#5B4C0F #0F5B26 #0F1E5B #5B0F44
square
#5B4C0F #0F5B26 #0F1E5B #5B0F44
split-complementary
#5B4C0F #0F445B #260F5B
monochromatic
#1A1604 #262006 #5B4C0F #907818 #C4A420

Accessibility & contrast

On white

8.45
#5B4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5B4C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4C0F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4C0F#FFFFFF#000000##FFFFFF
##5B4C0F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b4c0f;
/* rgb */ color: rgb(91, 76, 15);
/* oklch */ color: oklch(42.0% 0.079 94.4);
Tailwind
colors: {
  custom: {
    50: '#8d7d53',
    500: '#5b4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b4c0f;
$custom-light: #8d7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4c0f",
  "rgb": {
    "r": 91,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 48.158,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.0786,
    "h": 94.4
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#5B4C0F
secondary
#314595
accent
#5DEE39
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5B4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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