#5B4E0F#5B4E0F

#5B4E0F is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.080 H 96.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5B4E0F
RGBrgb(91, 78, 15)
HSLhsl(50, 72%, 21%)
HSVhsv(50, 84%, 36%)
CMYKcmyk(0%, 14.3%, 83.5%, 64.3%)
CIE-LABlab(33.37, -1.96, 36.49)
CIE-LCHlch(33.37, 36.55, 93.08°)
OKLaboklab(42.49% -0.0095 0.0796)
OKLCHoklch(42.49% 0.08 96.8)
XYZxyz(7.1254, 7.7078, 1.5643)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E0F #0F1C5B
analogous
#5B280F #5B4E0F #425B0F
triadic
#5B4E0F #0F5B4E #4E0F5B
tetradic
#5B4E0F #0F5B28 #0F1C5B #5B0F42
square
#5B4E0F #0F5B28 #0F1C5B #5B0F42
split-complementary
#5B4E0F #0F425B #280F5B
monochromatic
#1A1704 #262106 #5B4E0F #907B18 #C4A820

Accessibility & contrast

On white

8.26
#5B4E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5B4E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E0F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E0F#FFFFFF#000000##FFFFFF
##5B4E0F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#634742
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5b4e0f;
/* rgb */ color: rgb(91, 78, 15);
/* oklch */ color: oklch(42.5% 0.080 96.8);
Tailwind
colors: {
  custom: {
    50: '#8d7f53',
    500: '#5b4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e0f;
$custom-light: #8d7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e0f",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 49.737,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.08012,
    "h": 96.8
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#5B4E0F
secondary
#314295
accent
#58EE39
background
#F8F7F4
surface
#F0EEE8
border
#CBC9C4
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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