#5D591F#5D591F

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

Color values

HEX#5D591F
RGBrgb(93, 89, 31)
HSLhsl(56, 50%, 24%)
HSVhsv(56, 67%, 36%)
CMYKcmyk(0%, 4.3%, 66.7%, 63.5%)
CIE-LABlab(37.06, -6.58, 33.13)
CIE-LCHlch(37.06, 33.78, 101.23°)
OKLaboklab(45.52% -0.0207 0.0756)
OKLCHoklch(45.52% 0.078 105.4)
XYZxyz(8.3342, 9.5711, 2.7045)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D591F #1F235D
analogous
#5D3A1F #5D591F #425D1F
triadic
#5D591F #1F5D59 #591F5D
tetradic
#5D591F #1F5D3A #1F235D #5D1F42
square
#5D591F #1F5D3A #1F235D #5D1F42
split-complementary
#5D591F #1F425D #3A1F5D
monochromatic
#171608 #2F2D10 #5D591F #8B852E #B9B13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D591F#FFFFFF#000000##FFFFFF
##5D591F1.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)
#615618
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#64534D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5d591f;
/* rgb */ color: rgb(93, 89, 31);
/* oklch */ color: oklch(45.5% 0.078 105.4);
Tailwind
colors: {
  custom: {
    50: '#8d875e',
    500: '#5d591f',
    950: '#000000',
  },
}
SCSS
$custom: #5d591f;
$custom-light: #8d875e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d591f",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 56.129,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45516,
    "c": 0.07835,
    "h": 105.4
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#5D591F
secondary
#464B92
accent
#57DA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D591F

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

Preview Lab → · Contrast checker → · Palette generator →

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