#5B5113#5B5113

#5B5113 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.2% C 0.080 H 99.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5B5113
RGBrgb(91, 81, 19)
HSLhsl(52, 65%, 22%)
HSVhsv(52, 79%, 36%)
CMYKcmyk(0%, 11%, 79.1%, 64.3%)
CIE-LABlab(34.31, -3.58, 35.77)
CIE-LCHlch(34.31, 35.95, 95.72°)
OKLaboklab(43.25% -0.0136 0.0789)
OKLCHoklch(43.25% 0.08 99.8)
XYZxyz(7.3747, 8.1564, 1.8019)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5113 #131D5B
analogous
#5B2D13 #5B5113 #415B13
triadic
#5B5113 #135B51 #51135B
tetradic
#5B5113 #135B2D #131D5B #5B1341
square
#5B5113 #135B2D #131D5B #5B1341
split-complementary
#5B5113 #13415B #2D135B
monochromatic
#191705 #282408 #5B5113 #8E7E1E #C0AB28

Accessibility & contrast

On white

7.98
#5B5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5B5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5113
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5113#FFFFFF#000000##FFFFFF
##5B51131.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F08
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#634A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b5113;
/* rgb */ color: rgb(91, 81, 19);
/* oklch */ color: oklch(43.2% 0.080 99.8);
Tailwind
colors: {
  custom: {
    50: '#8c8156',
    500: '#5b5113',
    950: '#000000',
  },
}
SCSS
$custom: #5b5113;
$custom-light: #8c8156;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5113",
  "rgb": {
    "r": 91,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 51.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.08006,
    "h": 99.8
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#5B5113
secondary
#374493
accent
#57E83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5113

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

Preview Lab → · Contrast checker → · Palette generator →

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