#5D571F#5D571F

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

Color values

HEX#5D571F
RGBrgb(93, 87, 31)
HSLhsl(54, 50%, 24%)
HSVhsv(54, 67%, 36%)
CMYKcmyk(0%, 6.5%, 66.7%, 63.5%)
CIE-LABlab(36.45, -5.40, 32.47)
CIE-LCHlch(36.45, 32.92, 99.45°)
OKLaboklab(45.03% -0.0174 0.0741)
OKLCHoklch(45.03% 0.076 103.2)
XYZxyz(8.1700, 9.2428, 2.6497)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D571F #1F255D
analogous
#5D381F #5D571F #445D1F
triadic
#5D571F #1F5D57 #571F5D
tetradic
#5D571F #1F5D38 #1F255D #5D1F44
square
#5D571F #1F5D38 #1F255D #5D1F44
split-complementary
#5D571F #1F445D #381F5D
monochromatic
#171508 #2F2C10 #5D571F #8B822E #B9AD3E

Accessibility & contrast

On white

7.37
#5D571F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D571F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D571F#FFFFFF#000000##FFFFFF
##5D571F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d571f;
/* rgb */ color: rgb(93, 87, 31);
/* oklch */ color: oklch(45.0% 0.076 103.2);
Tailwind
colors: {
  custom: {
    50: '#8d865d',
    500: '#5d571f',
    950: '#000000',
  },
}
SCSS
$custom: #5d571f;
$custom-light: #8d865d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d571f",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 54.194,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.07615,
    "h": 103.2
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

primary
#5D571F
secondary
#464D92
accent
#5CDA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5D571F

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

Preview Lab → · Contrast checker → · Palette generator →

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