#5D571E#5D571E

#5D571E is a mid, moderate yellow. Relative luminance 0.092; OKLCH L 45.0% C 0.077 H 103.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5D571E
RGBrgb(93, 87, 30)
HSLhsl(54, 51%, 24%)
HSVhsv(54, 68%, 36%)
CMYKcmyk(0%, 6.5%, 67.7%, 63.5%)
CIE-LABlab(36.44, -5.48, 32.95)
CIE-LCHlch(36.44, 33.41, 99.44°)
OKLaboklab(45.02% -0.0177 0.075)
OKLCHoklch(45.02% 0.077 103.3)
XYZxyz(8.1570, 9.2376, 2.5814)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D571E #1E245D
analogous
#5D381E #5D571E #445D1E
triadic
#5D571E #1E5D57 #571E5D
tetradic
#5D571E #1E5D38 #1E245D #5D1E44
square
#5D571E #1E5D38 #1E245D #5D1E44
split-complementary
#5D571E #1E445D #381E5D
monochromatic
#171607 #2F2C0F #5D571E #8B822D #BAAE3C

Accessibility & contrast

On white

7.38
#5D571E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5D571E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D571E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D571E#FFFFFF#000000##FFFFFF
##5D571E1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5417
Deuteranopia (green-blind)
#615721
Tritanopia (blue-blind)
#64514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5d571e;
/* rgb */ color: rgb(93, 87, 30);
/* oklch */ color: oklch(45.0% 0.077 103.3);
Tailwind
colors: {
  custom: {
    50: '#8d865d',
    500: '#5d571e',
    950: '#000000',
  },
}
SCSS
$custom: #5d571e;
$custom-light: #8d865d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d571e",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 54.286,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45017,
    "c": 0.07708,
    "h": 103.3
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#5D571E
secondary
#454C92
accent
#5BDB4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D571E

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

Preview Lab → · Contrast checker → · Palette generator →

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