#5B591D#5B591D

#5B591D is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.3% C 0.080 H 107.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5B591D
RGBrgb(91, 89, 29)
HSLhsl(58, 52%, 24%)
HSVhsv(58, 68%, 36%)
CMYKcmyk(0%, 2.2%, 68.1%, 64.3%)
CIE-LABlab(36.85, -7.70, 33.82)
CIE-LCHlch(36.85, 34.69, 102.82°)
OKLaboklab(45.3% -0.024 0.0767)
OKLCHoklch(45.3% 0.08 107.4)
XYZxyz(8.1088, 9.4579, 2.5606)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B591D #1D1F5B
analogous
#5B3A1D #5B591D #3E5B1D
triadic
#5B591D #1D5B59 #591D5B
tetradic
#5B591D #1D5B3A #1D1F5B #5B1D3E
square
#5B591D #1D5B3A #1D1F5B #5B1D3E
split-complementary
#5B591D #1D3E5B #3A1D5B
monochromatic
#171707 #2D2C0E #5B591D #89862C #B8B43B

Accessibility & contrast

On white

7.26
#5B591D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5B591D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B591D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B591D#FFFFFF#000000##FFFFFF
##5B591D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615515
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#62534D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5b591d;
/* rgb */ color: rgb(91, 89, 29);
/* oklch */ color: oklch(45.3% 0.080 107.4);
Tailwind
colors: {
  custom: {
    50: '#8c875c',
    500: '#5b591d',
    950: '#000000',
  },
}
SCSS
$custom: #5b591d;
$custom-light: #8c875c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b591d",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 29
  },
  "hsl": {
    "h": 58.065,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.08041,
    "h": 107.4
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#5B591D
secondary
#444690
accent
#51DB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B591D

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

Preview Lab → · Contrast checker → · Palette generator →

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