#5B5013#5B5013

#5B5013 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.0% C 0.079 H 98.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5B5013
RGBrgb(91, 80, 19)
HSLhsl(51, 65%, 22%)
HSVhsv(51, 79%, 36%)
CMYKcmyk(0%, 12.1%, 79.1%, 64.3%)
CIE-LABlab(34.00, -2.98, 35.48)
CIE-LCHlch(34.00, 35.60, 94.80°)
OKLaboklab(43.01% -0.0119 0.0783)
OKLCHoklch(43.01% 0.079 98.6)
XYZxyz(7.3009, 8.0088, 1.7773)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5013 #131E5B
analogous
#5B2C13 #5B5013 #425B13
triadic
#5B5013 #135B50 #50135B
tetradic
#5B5013 #135B2C #131E5B #5B1342
square
#5B5013 #135B2C #131E5B #5B1342
split-complementary
#5B5013 #13425B #2C135B
monochromatic
#191605 #282308 #5B5013 #8E7D1E #C0A928

Accessibility & contrast

On white

8.07
#5B5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5B5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5013
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5013#FFFFFF#000000##FFFFFF
##5B50131.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E09
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#634944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5b5013;
/* rgb */ color: rgb(91, 80, 19);
/* oklch */ color: oklch(43.0% 0.079 98.6);
Tailwind
colors: {
  custom: {
    50: '#8c8056',
    500: '#5b5013',
    950: '#000000',
  },
}
SCSS
$custom: #5b5013;
$custom-light: #8c8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5013",
  "rgb": {
    "r": 91,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 50.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.07918,
    "h": 98.6
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#5B5013
secondary
#374593
accent
#59E83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5013

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

Preview Lab → · Contrast checker → · Palette generator →

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