#5F561C#5F561C

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

Color values

HEX#5F561C
RGBrgb(95, 86, 28)
HSLhsl(52, 54%, 24%)
HSVhsv(52, 71%, 37%)
CMYKcmyk(0%, 9.5%, 70.5%, 62.7%)
CIE-LABlab(36.31, -4.05, 33.86)
CIE-LCHlch(36.31, 34.10, 96.82°)
OKLaboklab(44.96% -0.0141 0.0765)
OKLCHoklch(44.96% 0.078 100.4)
XYZxyz(8.2571, 9.1727, 2.4340)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F561C #1C255F
analogous
#5F351C #5F561C #475F1C
triadic
#5F561C #1C5F56 #561C5F
tetradic
#5F561C #1C5F35 #1C255F #5F1C47
square
#5F561C #1C5F35 #1C255F #5F1C47
split-complementary
#5F561C #1C475F #351C5F
monochromatic
#181507 #302B0E #5F561C #8E812A #BEAC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F561C#FFFFFF#000000##FFFFFF
##5F561C1.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)
#5E5315
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#67504A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f561c;
/* rgb */ color: rgb(95, 86, 28);
/* oklch */ color: oklch(45.0% 0.078 100.4);
Tailwind
colors: {
  custom: {
    50: '#8f855c',
    500: '#5f561c',
    950: '#000000',
  },
}
SCSS
$custom: #5f561c;
$custom-light: #8f855c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f561c",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 28
  },
  "hsl": {
    "h": 51.94,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.07779,
    "h": 100.4
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#5F561C
secondary
#424D94
accent
#5EDE4A
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F561C

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

Preview Lab → · Contrast checker → · Palette generator →

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