#5B591A#5B591A

#5B591A is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.3% C 0.083 H 107.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5B591A
RGBrgb(91, 89, 26)
HSLhsl(58, 56%, 23%)
HSVhsv(58, 71%, 36%)
CMYKcmyk(0%, 2.2%, 71.4%, 64.3%)
CIE-LABlab(36.82, -7.90, 35.20)
CIE-LCHlch(36.82, 36.08, 102.65°)
OKLaboklab(45.27% -0.025 0.0791)
OKLCHoklch(45.27% 0.083 107.5)
XYZxyz(8.0735, 9.4437, 2.3746)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B591A #1A1C5B
analogous
#5B381A #5B591A #3C5B1A
triadic
#5B591A #1A5B59 #591A5B
tetradic
#5B591A #1A5B38 #1A1C5B #5B1A3C
square
#5B591A #1A5B38 #1A1C5B #5B1A3C
split-complementary
#5B591A #1A3C5B #381A5B
monochromatic
#181707 #2B2A0C #5B591A #8B8828 #BAB635

Accessibility & contrast

On white

7.27
#5B591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B591A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B591A#FFFFFF#000000##FFFFFF
##5B591A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615511
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#62534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5b591a;
/* rgb */ color: rgb(91, 89, 26);
/* oklch */ color: oklch(45.3% 0.083 107.5);
Tailwind
colors: {
  custom: {
    50: '#8c875b',
    500: '#5b591a',
    950: '#000000',
  },
}
SCSS
$custom: #5b591a;
$custom-light: #8c875b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b591a",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 58.154,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.08296,
    "h": 107.5
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#5B591A
secondary
#404291
accent
#4EDF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5B591A

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

Preview Lab → · Contrast checker → · Palette generator →

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