#5F591A#5F591A

#5F591A is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.7% C 0.082 H 103.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5F591A
RGBrgb(95, 89, 26)
HSLhsl(55, 57%, 24%)
HSVhsv(55, 73%, 37%)
CMYKcmyk(0%, 6.3%, 72.6%, 62.7%)
CIE-LABlab(37.21, -5.95, 35.72)
CIE-LCHlch(37.21, 36.21, 99.46°)
OKLaboklab(45.67% -0.0197 0.0801)
OKLCHoklch(45.67% 0.082 103.8)
XYZxyz(8.4785, 9.6526, 2.3936)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F591A #1A205F
analogous
#5F361A #5F591A #425F1A
triadic
#5F591A #1A5F59 #591A5F
tetradic
#5F591A #1A5F36 #1A205F #5F1A42
square
#5F591A #1A5F36 #1A205F #5F1A42
split-complementary
#5F591A #1A425F #361A5F
monochromatic
#181707 #2F2C0D #5F591A #8F8627 #BFB334

Accessibility & contrast

On white

7.17
#5F591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5F591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F591A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F591A#FFFFFF#000000##FFFFFF
##5F591A1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f591a;
/* rgb */ color: rgb(95, 89, 26);
/* oklch */ color: oklch(45.7% 0.082 103.8);
Tailwind
colors: {
  custom: {
    50: '#8f875b',
    500: '#5f591a',
    950: '#000000',
  },
}
SCSS
$custom: #5f591a;
$custom-light: #8f875b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f591a",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 54.783,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45668,
    "c": 0.08246,
    "h": 103.8
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#5F591A
secondary
#404795
accent
#55E048
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F591A

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

Preview Lab → · Contrast checker → · Palette generator →

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