#5E571D#5E571D

#5E571D is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.1% C 0.078 H 102.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5E571D
RGBrgb(94, 87, 29)
HSLhsl(54, 53%, 24%)
HSVhsv(54, 69%, 37%)
CMYKcmyk(0%, 7.4%, 69.1%, 63.1%)
CIE-LABlab(36.53, -5.06, 33.57)
CIE-LCHlch(36.53, 33.95, 98.58°)
OKLaboklab(45.11% -0.0168 0.0761)
OKLCHoklch(45.11% 0.078 102.4)
XYZxyz(8.2464, 9.2851, 2.5200)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E571D #1D245E
analogous
#5E371D #5E571D #455E1D
triadic
#5E571D #1D5E57 #571D5E
tetradic
#5E571D #1D5E37 #1D245E #5E1D45
square
#5E571D #1D5E37 #1D245E #5E1D45
split-complementary
#5E571D #1D455E #371D5E
monochromatic
#171607 #2F2C0F #5E571D #8D822B #BCAE3A

Accessibility & contrast

On white

7.35
#5E571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5E571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E571D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E571D#FFFFFF#000000##FFFFFF
##5E571D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5416
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#65514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e571d;
/* rgb */ color: rgb(94, 87, 29);
/* oklch */ color: oklch(45.1% 0.078 102.4);
Tailwind
colors: {
  custom: {
    50: '#8e865c',
    500: '#5e571d',
    950: '#000000',
  },
}
SCSS
$custom: #5e571d;
$custom-light: #8e865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e571d",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 53.538,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45109,
    "c": 0.07793,
    "h": 102.4
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#5E571D
secondary
#444C93
accent
#5BDC4C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E571D

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

Preview Lab → · Contrast checker → · Palette generator →

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