#5B4D0F#5B4D0F

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

Color values

HEX#5B4D0F
RGBrgb(91, 77, 15)
HSLhsl(49, 72%, 21%)
HSVhsv(49, 84%, 36%)
CMYKcmyk(0%, 15.4%, 83.5%, 64.3%)
CIE-LABlab(33.06, -1.35, 36.22)
CIE-LCHlch(33.06, 36.24, 92.14°)
OKLaboklab(42.25% -0.0077 0.079)
OKLCHoklch(42.25% 0.079 95.6)
XYZxyz(7.0549, 7.5668, 1.5408)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4D0F #0F1D5B
analogous
#5B270F #5B4D0F #435B0F
triadic
#5B4D0F #0F5B4D #4D0F5B
tetradic
#5B4D0F #0F5B27 #0F1D5B #5B0F43
square
#5B4D0F #0F5B27 #0F1D5B #5B0F43
split-complementary
#5B4D0F #0F435B #270F5B
monochromatic
#1A1604 #262106 #5B4D0F #907918 #C4A620

Accessibility & contrast

On white

8.36
#5B4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5B4D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4D0F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4D0F#FFFFFF#000000##FFFFFF
##5B4D0F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b4d0f;
/* rgb */ color: rgb(91, 77, 15);
/* oklch */ color: oklch(42.3% 0.079 95.6);
Tailwind
colors: {
  custom: {
    50: '#8d7e53',
    500: '#5b4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b4d0f;
$custom-light: #8d7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4d0f",
  "rgb": {
    "r": 91,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 48.947,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.07934,
    "h": 95.6
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#5B4D0F
secondary
#314495
accent
#5BEE39
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5B4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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