#5B5610#5B5610

#5B5610 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.4% C 0.087 H 105.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5B5610
RGBrgb(91, 86, 16)
HSLhsl(56, 70%, 21%)
HSVhsv(56, 82%, 36%)
CMYKcmyk(0%, 5.5%, 82.4%, 64.3%)
CIE-LABlab(35.82, -6.70, 38.37)
CIE-LCHlch(35.82, 38.95, 99.90°)
OKLaboklab(44.45% -0.0227 0.0838)
OKLCHoklch(44.45% 0.087 105.2)
XYZxyz(7.7360, 8.9174, 1.8039)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5610 #10155B
analogous
#5B3010 #5B5610 #3A5B10
triadic
#5B5610 #105B56 #56105B
tetradic
#5B5610 #105B30 #10155B #5B103A
square
#5B5610 #105B30 #10155B #5B103A
split-complementary
#5B5610 #103A5B #30105B
monochromatic
#1A1905 #272507 #5B5610 #8F8719 #C3B822

Accessibility & contrast

On white

7.54
#5B5610 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5B5610 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5610
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5610#FFFFFF#000000##FFFFFF
##5B56101.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5302
Deuteranopia (green-blind)
#605616
Tritanopia (blue-blind)
#624F49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b5610;
/* rgb */ color: rgb(91, 86, 16);
/* oklch */ color: oklch(44.4% 0.087 105.2);
Tailwind
colors: {
  custom: {
    50: '#8c8555',
    500: '#5b5610',
    950: '#000000',
  },
}
SCSS
$custom: #5b5610;
$custom-light: #8c8555;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5610",
  "rgb": {
    "r": 91,
    "g": 86,
    "b": 16
  },
  "hsl": {
    "h": 56,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44447,
    "c": 0.0868,
    "h": 105.2
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#5B5610
secondary
#333994
accent
#47ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5610

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

Preview Lab → · Contrast checker → · Palette generator →

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