#5F591B#5F591B

#5F591B 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.16:1 contrast (WCAG AA passes).

Color values

HEX#5F591B
RGBrgb(95, 89, 27)
HSLhsl(55, 56%, 24%)
HSVhsv(55, 72%, 37%)
CMYKcmyk(0%, 6.3%, 71.6%, 62.7%)
CIE-LABlab(37.22, -5.89, 35.27)
CIE-LCHlch(37.22, 35.76, 99.48°)
OKLaboklab(45.68% -0.0194 0.0793)
OKLCHoklch(45.68% 0.082 103.8)
XYZxyz(8.4899, 9.6571, 2.4535)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F591B #1B215F
analogous
#5F371B #5F591B #435F1B
triadic
#5F591B #1B5F59 #591B5F
tetradic
#5F591B #1B5F37 #1B215F #5F1B43
square
#5F591B #1B5F37 #1B215F #5F1B43
split-complementary
#5F591B #1B435F #371B5F
monochromatic
#181607 #2F2C0D #5F591B #8F8629 #BEB236

Accessibility & contrast

On white

7.16
#5F591B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F591B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F591B#FFFFFF#000000##FFFFFF
##5F591B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f591b;
/* rgb */ color: rgb(95, 89, 27);
/* oklch */ color: oklch(45.7% 0.082 103.8);
Tailwind
colors: {
  custom: {
    50: '#8f875b',
    500: '#5f591b',
    950: '#000000',
  },
}
SCSS
$custom: #5f591b;
$custom-light: #8f875b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f591b",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 54.706,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45677,
    "c": 0.08165,
    "h": 103.8
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#5F591B
secondary
#414995
accent
#56DF49
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F591B

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

Preview Lab → · Contrast checker → · Palette generator →

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