#5F561A#5F561A

#5F561A is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.9% C 0.079 H 100.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5F561A
RGBrgb(95, 86, 26)
HSLhsl(52, 57%, 24%)
HSVhsv(52, 73%, 37%)
CMYKcmyk(0%, 9.5%, 72.6%, 62.7%)
CIE-LABlab(36.30, -4.18, 34.78)
CIE-LCHlch(36.30, 35.03, 96.85°)
OKLaboklab(44.94% -0.0147 0.0781)
OKLCHoklch(44.94% 0.079 100.7)
XYZxyz(8.2339, 9.1634, 2.3121)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F561A #1A235F
analogous
#5F331A #5F561A #455F1A
triadic
#5F561A #1A5F56 #561A5F
tetradic
#5F561A #1A5F33 #1A235F #5F1A45
square
#5F561A #1A5F33 #1A235F #5F1A45
split-complementary
#5F561A #1A455F #331A5F
monochromatic
#181607 #2F2B0D #5F561A #8F8127 #BFAD34

Accessibility & contrast

On white

7.41
#5F561A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5F561A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F561A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F561A#FFFFFF#000000##FFFFFF
##5F561A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5312
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#674F4A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f561a;
/* rgb */ color: rgb(95, 86, 26);
/* oklch */ color: oklch(44.9% 0.079 100.7);
Tailwind
colors: {
  custom: {
    50: '#8f855a',
    500: '#5f561a',
    950: '#000000',
  },
}
SCSS
$custom: #5f561a;
$custom-light: #8f855a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f561a",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 52.174,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.07946,
    "h": 100.7
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#5F561A
secondary
#404B95
accent
#5BE048
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F561A

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

Preview Lab → · Contrast checker → · Palette generator →

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