#5F581D#5F581D

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

Color values

HEX#5F581D
RGBrgb(95, 88, 29)
HSLhsl(54, 53%, 24%)
HSVhsv(54, 69%, 37%)
CMYKcmyk(0%, 7.4%, 69.5%, 62.7%)
CIE-LABlab(36.93, -5.17, 34.03)
CIE-LCHlch(36.93, 34.42, 98.63°)
OKLaboklab(45.45% -0.0171 0.077)
OKLCHoklch(45.45% 0.079 102.5)
XYZxyz(8.4311, 9.5014, 2.5520)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F581D #1D245F
analogous
#5F371D #5F581D #455F1D
triadic
#5F581D #1D5F58 #581D5F
tetradic
#5F581D #1D5F37 #1D245F #5F1D45
square
#5F581D #1D5F37 #1D245F #5F1D45
split-complementary
#5F581D #1D455F #371D5F
monochromatic
#171607 #302D0F #5F581D #8E832B #BDAF3A

Accessibility & contrast

On white

7.24
#5F581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5F581D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F581D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F581D#FFFFFF#000000##FFFFFF
##5F581D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605516
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#66524C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f581d;
/* rgb */ color: rgb(95, 88, 29);
/* oklch */ color: oklch(45.5% 0.079 102.5);
Tailwind
colors: {
  custom: {
    50: '#8f865c',
    500: '#5f581d',
    950: '#000000',
  },
}
SCSS
$custom: #5f581d;
$custom-light: #8f865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f581d",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 53.636,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45454,
    "c": 0.07892,
    "h": 102.5
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#5F581D
secondary
#444C94
accent
#5BDD4B
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F581D

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

Preview Lab → · Contrast checker → · Palette generator →

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