#5D591E#5D591E

#5D591E is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.079 H 105.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5D591E
RGBrgb(93, 89, 30)
HSLhsl(56, 51%, 24%)
HSVhsv(56, 68%, 36%)
CMYKcmyk(0%, 4.3%, 67.7%, 63.5%)
CIE-LABlab(37.05, -6.65, 33.61)
CIE-LCHlch(37.05, 34.26, 101.20°)
OKLaboklab(45.51% -0.0211 0.0764)
OKLCHoklch(45.51% 0.079 105.4)
XYZxyz(8.3212, 9.5659, 2.6361)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D591E #1E225D
analogous
#5D3A1E #5D591E #425D1E
triadic
#5D591E #1E5D59 #591E5D
tetradic
#5D591E #1E5D3A #1E225D #5D1E42
square
#5D591E #1E5D3A #1E225D #5D1E42
split-complementary
#5D591E #1E425D #3A1E5D
monochromatic
#171607 #2F2D0F #5D591E #8B852D #BAB23C

Accessibility & contrast

On white

7.21
#5D591E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5D591E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D591E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D591E#FFFFFF#000000##FFFFFF
##5D591E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d591e;
/* rgb */ color: rgb(93, 89, 30);
/* oklch */ color: oklch(45.5% 0.079 105.4);
Tailwind
colors: {
  custom: {
    50: '#8d875d',
    500: '#5d591e',
    950: '#000000',
  },
}
SCSS
$custom: #5d591e;
$custom-light: #8d875d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d591e",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 30
  },
  "hsl": {
    "h": 56.19,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45505,
    "c": 0.07926,
    "h": 105.4
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#5D591E
secondary
#454A92
accent
#56DB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D591E

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

Preview Lab → · Contrast checker → · Palette generator →

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