#5E591A#5E591A

#5E591A is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.6% C 0.083 H 104.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5E591A
RGBrgb(94, 89, 26)
HSLhsl(56, 57%, 24%)
HSVhsv(56, 72%, 37%)
CMYKcmyk(0%, 5.3%, 72.3%, 63.1%)
CIE-LABlab(37.11, -6.44, 35.59)
CIE-LCHlch(37.11, 36.16, 100.26°)
OKLaboklab(45.57% -0.021 0.0798)
OKLCHoklch(45.57% 0.083 104.8)
XYZxyz(8.3753, 9.5993, 2.3888)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E591A #1A1F5E
analogous
#5E371A #5E591A #415E1A
triadic
#5E591A #1A5E59 #591A5E
tetradic
#5E591A #1A5E37 #1A1F5E #5E1A41
square
#5E591A #1A5E37 #1A1F5E #5E1A41
split-complementary
#5E591A #1A415E #371A5E
monochromatic
#181707 #2E2C0D #5E591A #8E8627 #BEB435

Accessibility & contrast

On white

7.19
#5E591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E591A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E591A#FFFFFF#000000##FFFFFF
##5E591A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615611
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#65534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e591a;
/* rgb */ color: rgb(94, 89, 26);
/* oklch */ color: oklch(45.6% 0.083 104.8);
Tailwind
colors: {
  custom: {
    50: '#8e875b',
    500: '#5e591a',
    950: '#000000',
  },
}
SCSS
$custom: #5e591a;
$custom-light: #8e875b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e591a",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 55.588,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45566,
    "c": 0.08255,
    "h": 104.8
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#5E591A
secondary
#404694
accent
#53E048
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E591A

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

Preview Lab → · Contrast checker → · Palette generator →

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