#5F561F#5F561F

#5F561F is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 45.0% C 0.075 H 100.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5F561F
RGBrgb(95, 86, 31)
HSLhsl(52, 51%, 25%)
HSVhsv(52, 67%, 37%)
CMYKcmyk(0%, 9.5%, 67.4%, 62.7%)
CIE-LABlab(36.34, -3.84, 32.41)
CIE-LCHlch(36.34, 32.64, 96.75°)
OKLaboklab(44.99% -0.0131 0.074)
OKLCHoklch(44.99% 0.075 100)
XYZxyz(8.2948, 9.1878, 2.6326)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F561F #1F285F
analogous
#5F361F #5F561F #485F1F
triadic
#5F561F #1F5F56 #561F5F
tetradic
#5F561F #1F5F36 #1F285F #5F1F48
square
#5F561F #1F5F36 #1F285F #5F1F48
split-complementary
#5F561F #1F485F #361F5F
monochromatic
#171508 #312C10 #5F561F #8D802E #BBAA3D

Accessibility & contrast

On white

7.40
#5F561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5F561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F561F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F561F#FFFFFF#000000##FFFFFF
##5F561F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5419
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#66504A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f561f;
/* rgb */ color: rgb(95, 86, 31);
/* oklch */ color: oklch(45.0% 0.075 100.0);
Tailwind
colors: {
  custom: {
    50: '#8f855d',
    500: '#5f561f',
    950: '#000000',
  },
}
SCSS
$custom: #5f561f;
$custom-light: #8f855d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f561f",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 51.563,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.07512,
    "h": 100
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#5F561F
secondary
#465194
accent
#61DA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5F561F

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

Preview Lab → · Contrast checker → · Palette generator →

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