#5E591B#5E591B

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

Color values

HEX#5E591B
RGBrgb(94, 89, 27)
HSLhsl(56, 55%, 24%)
HSVhsv(56, 71%, 37%)
CMYKcmyk(0%, 5.3%, 71.3%, 63.1%)
CIE-LABlab(37.12, -6.38, 35.14)
CIE-LCHlch(37.12, 35.71, 100.29°)
OKLaboklab(45.58% -0.0207 0.0791)
OKLCHoklch(45.58% 0.082 104.7)
XYZxyz(8.3866, 9.6039, 2.4487)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E591B #1B205E
analogous
#5E371B #5E591B #415E1B
triadic
#5E591B #1B5E59 #591B5E
tetradic
#5E591B #1B5E37 #1B205E #5E1B41
square
#5E591B #1B5E37 #1B205E #5E1B41
split-complementary
#5E591B #1B415E #371B5E
monochromatic
#181707 #2E2C0D #5E591B #8E8629 #BDB336

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E591B#FFFFFF#000000##FFFFFF
##5E591B1.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)
#615613
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#65534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e591b;
/* rgb */ color: rgb(94, 89, 27);
/* oklch */ color: oklch(45.6% 0.082 104.7);
Tailwind
colors: {
  custom: {
    50: '#8e875b',
    500: '#5e591b',
    950: '#000000',
  },
}
SCSS
$custom: #5e591b;
$custom-light: #8e875b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e591b",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 55.522,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.08174,
    "h": 104.7
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#5E591B
secondary
#414794
accent
#54DF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E591B

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

Preview Lab → · Contrast checker → · Palette generator →

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