#5B5810#5B5810

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

Color values

HEX#5B5810
RGBrgb(91, 88, 16)
HSLhsl(58, 70%, 21%)
HSVhsv(58, 82%, 36%)
CMYKcmyk(0%, 3.3%, 82.4%, 64.3%)
CIE-LABlab(36.44, -7.87, 38.93)
CIE-LCHlch(36.44, 39.72, 101.42°)
OKLaboklab(44.94% -0.026 0.085)
OKLCHoklch(44.94% 0.089 107)
XYZxyz(7.8980, 9.2413, 1.8578)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5810 #10135B
analogous
#5B3210 #5B5810 #385B10
triadic
#5B5810 #105B58 #58105B
tetradic
#5B5810 #105B32 #10135B #5B1038
square
#5B5810 #105B32 #10135B #5B1038
split-complementary
#5B5810 #10385B #32105B
monochromatic
#1A1905 #272607 #5B5810 #8F8A19 #C3BD22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B5810#FFFFFF#000000##FFFFFF
##5B58101.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)
#605401
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#62524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b5810;
/* rgb */ color: rgb(91, 88, 16);
/* oklch */ color: oklch(44.9% 0.089 107.0);
Tailwind
colors: {
  custom: {
    50: '#8c8655',
    500: '#5b5810',
    950: '#000000',
  },
}
SCSS
$custom: #5b5810;
$custom-light: #8c8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5810",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 57.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.08887,
    "h": 107
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#5B5810
secondary
#333794
accent
#42ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5810

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

Preview Lab → · Contrast checker → · Palette generator →

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