#5B5614#5B5614

#5B5614 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.5% C 0.084 H 105.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5B5614
RGBrgb(91, 86, 20)
HSLhsl(56, 64%, 22%)
HSVhsv(56, 78%, 36%)
CMYKcmyk(0%, 5.5%, 78%, 64.3%)
CIE-LABlab(35.85, -6.50, 36.84)
CIE-LCHlch(35.85, 37.41, 100.01°)
OKLaboklab(44.48% -0.0217 0.0814)
OKLCHoklch(44.48% 0.084 105)
XYZxyz(7.7688, 8.9305, 1.9762)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5614 #14195B
analogous
#5B3314 #5B5614 #3D5B14
triadic
#5B5614 #145B56 #56145B
tetradic
#5B5614 #145B33 #14195B #5B143D
square
#5B5614 #145B33 #14195B #5B143D
split-complementary
#5B5614 #143D5B #33145B
monochromatic
#191806 #292709 #5B5614 #8D851F #BFB52A

Accessibility & contrast

On white

7.54
#5B5614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5B5614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5614
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5614#FFFFFF#000000##FFFFFF
##5B56141.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5308
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#625049
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b5614;
/* rgb */ color: rgb(91, 86, 20);
/* oklch */ color: oklch(44.5% 0.084 105.0);
Tailwind
colors: {
  custom: {
    50: '#8c8557',
    500: '#5b5614',
    950: '#000000',
  },
}
SCSS
$custom: #5b5614;
$custom-light: #8c8557;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5614",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 20
  },
  "hsl": {
    "h": 55.775,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.08423,
    "h": 105
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#5B5614
secondary
#383E93
accent
#4DE741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5614

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

Preview Lab → · Contrast checker → · Palette generator →

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