#5B5811#5B5811

#5B5811 is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.9% C 0.088 H 107.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5B5811
RGBrgb(91, 88, 17)
HSLhsl(58, 69%, 21%)
HSVhsv(58, 81%, 36%)
CMYKcmyk(0%, 3.3%, 81.3%, 64.3%)
CIE-LABlab(36.45, -7.82, 38.57)
CIE-LCHlch(36.45, 39.36, 101.46°)
OKLaboklab(44.95% -0.0257 0.0844)
OKLCHoklch(44.95% 0.088 107)
XYZxyz(7.9056, 9.2443, 1.8981)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5811 #11145B
analogous
#5B3311 #5B5811 #395B11
triadic
#5B5811 #115B58 #58115B
tetradic
#5B5811 #115B33 #11145B #5B1139
square
#5B5811 #115B33 #11145B #5B1139
split-complementary
#5B5811 #11395B #33115B
monochromatic
#1A1905 #272607 #5B5811 #8F8A1B #C2BC24

Accessibility & contrast

On white

7.37
#5B5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5B5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5811
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5811#FFFFFF#000000##FFFFFF
##5B58111.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#62524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b5811;
/* rgb */ color: rgb(91, 88, 17);
/* oklch */ color: oklch(44.9% 0.088 107.0);
Tailwind
colors: {
  custom: {
    50: '#8c8656',
    500: '#5b5811',
    950: '#000000',
  },
}
SCSS
$custom: #5b5811;
$custom-light: #8c8656;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5811",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 57.568,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44948,
    "c": 0.08827,
    "h": 107
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#5B5811
secondary
#343894
accent
#44EB3C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5811

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

Preview Lab → · Contrast checker → · Palette generator →

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