#5E571C#5E571C

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

Color values

HEX#5E571C
RGBrgb(94, 87, 28)
HSLhsl(54, 54%, 24%)
HSVhsv(54, 70%, 37%)
CMYKcmyk(0%, 7.4%, 70.2%, 63.1%)
CIE-LABlab(36.52, -5.13, 34.04)
CIE-LCHlch(36.52, 34.42, 98.57°)
OKLaboklab(45.1% -0.0171 0.0769)
OKLCHoklch(45.1% 0.079 102.5)
XYZxyz(8.2342, 9.2802, 2.4559)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E571C #1C235E
analogous
#5E361C #5E571C #445E1C
triadic
#5E571C #1C5E57 #571C5E
tetradic
#5E571C #1C5E36 #1C235E #5E1C44
square
#5E571C #1C5E36 #1C235E #5E1C44
split-complementary
#5E571C #1C445E #361C5E
monochromatic
#181607 #2F2B0E #5E571C #8D832A #BCAE38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E571C#FFFFFF#000000##FFFFFF
##5E571C1.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)
#5F5414
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#65514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e571c;
/* rgb */ color: rgb(94, 87, 28);
/* oklch */ color: oklch(45.1% 0.079 102.5);
Tailwind
colors: {
  custom: {
    50: '#8e865c',
    500: '#5e571c',
    950: '#000000',
  },
}
SCSS
$custom: #5e571c;
$custom-light: #8e865c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e571c",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 53.636,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.0788,
    "h": 102.5
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#5E571C
secondary
#424B93
accent
#5ADD4A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E571C

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

Preview Lab → · Contrast checker → · Palette generator →

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