#5B4A0F#5B4A0F

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

Color values

HEX#5B4A0F
RGBrgb(91, 74, 15)
HSLhsl(47, 72%, 21%)
HSVhsv(47, 84%, 36%)
CMYKcmyk(0%, 18.7%, 83.5%, 64.3%)
CIE-LABlab(32.16, 0.48, 35.39)
CIE-LCHlch(32.16, 35.39, 89.22°)
OKLaboklab(41.54% -0.0025 0.0772)
OKLCHoklch(41.54% 0.077 91.9)
XYZxyz(6.8498, 7.1566, 1.4724)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4A0F #0F205B
analogous
#5B240F #5B4A0F #465B0F
triadic
#5B4A0F #0F5B4A #4A0F5B
tetradic
#5B4A0F #0F5B24 #0F205B #5B0F46
square
#5B4A0F #0F5B24 #0F205B #5B0F46
split-complementary
#5B4A0F #0F465B #240F5B
monochromatic
#1A1504 #261F06 #5B4A0F #907518 #C49F20

Accessibility & contrast

On white

8.64
#5B4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5B4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4A0F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4A0F#FFFFFF#000000##FFFFFF
##5B4A0F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b4a0f;
/* rgb */ color: rgb(91, 74, 15);
/* oklch */ color: oklch(41.5% 0.077 91.9);
Tailwind
colors: {
  custom: {
    50: '#8d7c53',
    500: '#5b4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b4a0f;
$custom-light: #8d7c53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4a0f",
  "rgb": {
    "r": 91,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 46.579,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4154,
    "c": 0.07722,
    "h": 91.9
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#5B4A0F
secondary
#314795
accent
#62EE39
background
#F8F7F4
surface
#F0EEE7
border
#CBC9C3
text
#0D0902
muted
#7D7B78

Preview Lab

Preview with #5B4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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