#5F571C#5F571C

#5F571C is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.2% C 0.079 H 101.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5F571C
RGBrgb(95, 87, 28)
HSLhsl(53, 54%, 24%)
HSVhsv(53, 71%, 37%)
CMYKcmyk(0%, 8.4%, 70.5%, 62.7%)
CIE-LABlab(36.62, -4.64, 34.18)
CIE-LCHlch(36.62, 34.49, 97.74°)
OKLaboklab(45.2% -0.0158 0.0772)
OKLCHoklch(45.2% 0.079 101.5)
XYZxyz(8.3375, 9.3335, 2.4608)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F571C #1C245F
analogous
#5F361C #5F571C #465F1C
triadic
#5F571C #1C5F57 #571C5F
tetradic
#5F571C #1C5F36 #1C245F #5F1C46
square
#5F571C #1C5F36 #1C245F #5F1C46
split-complementary
#5F571C #1C465F #361C5F
monochromatic
#181607 #302C0E #5F571C #8E822A #BEAE38

Accessibility & contrast

On white

7.33
#5F571C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5F571C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F571C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F571C#FFFFFF#000000##FFFFFF
##5F571C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5414
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#67514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5f571c;
/* rgb */ color: rgb(95, 87, 28);
/* oklch */ color: oklch(45.2% 0.079 101.5);
Tailwind
colors: {
  custom: {
    50: '#8f865c',
    500: '#5f571c',
    950: '#000000',
  },
}
SCSS
$custom: #5f571c;
$custom-light: #8f865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f571c",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 52.836,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.07877,
    "h": 101.5
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#5F571C
secondary
#424C94
accent
#5CDE4A
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F571C

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

Preview Lab → · Contrast checker → · Palette generator →

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