#5F591D#5F591D

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

Color values

HEX#5F591D
RGBrgb(95, 89, 29)
HSLhsl(55, 53%, 24%)
HSVhsv(55, 69%, 37%)
CMYKcmyk(0%, 6.3%, 69.5%, 62.7%)
CIE-LABlab(37.24, -5.76, 34.35)
CIE-LCHlch(37.24, 34.83, 99.51°)
OKLaboklab(45.7% -0.0188 0.0777)
OKLCHoklch(45.7% 0.08 103.6)
XYZxyz(8.5138, 9.6667, 2.5796)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F591D #1D235F
analogous
#5F381D #5F591D #445F1D
triadic
#5F591D #1D5F59 #591D5F
tetradic
#5F591D #1D5F38 #1D235F #5F1D44
square
#5F591D #1D5F38 #1D235F #5F1D44
split-complementary
#5F591D #1D445F #381D5F
monochromatic
#171607 #302D0F #5F591D #8E852B #BDB13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F591D#FFFFFF#000000##FFFFFF
##5F591D1.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)
#615615
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#66534D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5f591d;
/* rgb */ color: rgb(95, 89, 29);
/* oklch */ color: oklch(45.7% 0.080 103.6);
Tailwind
colors: {
  custom: {
    50: '#8f875c',
    500: '#5f591d',
    950: '#000000',
  },
}
SCSS
$custom: #5f591d;
$custom-light: #8f875c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f591d",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 29
  },
  "hsl": {
    "h": 54.545,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45697,
    "c": 0.07996,
    "h": 103.6
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#5F591D
secondary
#444B94
accent
#58DD4B
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F591D

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

Preview Lab → · Contrast checker → · Palette generator →

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