#5B5314#5B5314

#5B5314 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.7% C 0.081 H 101.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5B5314
RGBrgb(91, 83, 20)
HSLhsl(53, 64%, 22%)
HSVhsv(53, 78%, 36%)
CMYKcmyk(0%, 8.8%, 78%, 64.3%)
CIE-LABlab(34.93, -4.72, 35.95)
CIE-LCHlch(34.93, 36.25, 97.49°)
OKLaboklab(43.74% -0.0167 0.0795)
OKLCHoklch(43.74% 0.081 101.9)
XYZxyz(7.5342, 8.4615, 1.8981)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5314 #141C5B
analogous
#5B3014 #5B5314 #405B14
triadic
#5B5314 #145B53 #53145B
tetradic
#5B5314 #145B30 #141C5B #5B1440
square
#5B5314 #145B30 #141C5B #5B1440
split-complementary
#5B5314 #14405B #30145B
monochromatic
#191706 #292509 #5B5314 #8D811F #BFAF2A

Accessibility & contrast

On white

7.80
#5B5314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5B5314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5314
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5314#FFFFFF#000000##FFFFFF
##5B53141.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5009
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#634D47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b5314;
/* rgb */ color: rgb(91, 83, 20);
/* oklch */ color: oklch(43.7% 0.081 101.9);
Tailwind
colors: {
  custom: {
    50: '#8c8357',
    500: '#5b5314',
    950: '#000000',
  },
}
SCSS
$custom: #5b5314;
$custom-light: #8c8357;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5314",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 53.239,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43741,
    "c": 0.08123,
    "h": 101.9
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#5B5314
secondary
#384293
accent
#54E741
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5314

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

Preview Lab → · Contrast checker → · Palette generator →

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