#5B4E14#5B4E14

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

Color values

HEX#5B4E14
RGBrgb(91, 78, 20)
HSLhsl(49, 64%, 22%)
HSVhsv(49, 78%, 36%)
CMYKcmyk(0%, 14.3%, 78%, 64.3%)
CIE-LABlab(33.40, -1.71, 34.46)
CIE-LCHlch(33.40, 34.50, 92.85°)
OKLaboklab(42.53% -0.0082 0.0764)
OKLCHoklch(42.53% 0.077 96.1)
XYZxyz(7.1654, 7.7238, 1.7751)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E14 #14215B
analogous
#5B2B14 #5B4E14 #455B14
triadic
#5B4E14 #145B4E #4E145B
tetradic
#5B4E14 #145B2B #14215B #5B1445
square
#5B4E14 #145B2B #14215B #5B1445
split-complementary
#5B4E14 #14455B #2B145B
monochromatic
#191606 #292309 #5B4E14 #8D791F #BFA42A

Accessibility & contrast

On white

8.25
#5B4E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B4E14
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E14#FFFFFF#000000##FFFFFF
##5B4E141.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0B
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#634742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5b4e14;
/* rgb */ color: rgb(91, 78, 20);
/* oklch */ color: oklch(42.5% 0.077 96.1);
Tailwind
colors: {
  custom: {
    50: '#8c7f56',
    500: '#5b4e14',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e14;
$custom-light: #8c7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e14",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 49.014,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42531,
    "c": 0.07679,
    "h": 96.1
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#5B4E14
secondary
#384993
accent
#5FE741
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B4E14

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

Preview Lab → · Contrast checker → · Palette generator →

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