#5B5714#5B5714

#5B5714 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.7% C 0.085 H 105.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5B5714
RGBrgb(91, 87, 20)
HSLhsl(57, 64%, 22%)
HSVhsv(57, 78%, 36%)
CMYKcmyk(0%, 4.4%, 78%, 64.3%)
CIE-LABlab(36.16, -7.09, 37.13)
CIE-LCHlch(36.16, 37.80, 100.81°)
OKLaboklab(44.72% -0.0234 0.082)
OKLCHoklch(44.72% 0.085 105.9)
XYZxyz(7.8492, 9.0913, 2.0030)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5714 #14185B
analogous
#5B3414 #5B5714 #3C5B14
triadic
#5B5714 #145B57 #57145B
tetradic
#5B5714 #145B34 #14185B #5B143C
square
#5B5714 #145B34 #14185B #5B143C
split-complementary
#5B5714 #143C5B #34145B
monochromatic
#191806 #292709 #5B5714 #8D871F #BFB72A

Accessibility & contrast

On white

7.45
#5B5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5B5714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5714
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5714#FFFFFF#000000##FFFFFF
##5B57141.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5408
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#62514A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b5714;
/* rgb */ color: rgb(91, 87, 20);
/* oklch */ color: oklch(44.7% 0.085 105.9);
Tailwind
colors: {
  custom: {
    50: '#8c8657',
    500: '#5b5714',
    950: '#000000',
  },
}
SCSS
$custom: #5b5714;
$custom-light: #8c8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5714",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 56.62,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44722,
    "c": 0.08528,
    "h": 105.9
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#5B5714
secondary
#383D93
accent
#4AE741
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5714

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

Preview Lab → · Contrast checker → · Palette generator →

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