#5E571A#5E571A

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

Color values

HEX#5E571A
RGBrgb(94, 87, 26)
HSLhsl(54, 57%, 24%)
HSVhsv(54, 72%, 37%)
CMYKcmyk(0%, 7.4%, 72.3%, 63.1%)
CIE-LABlab(36.50, -5.26, 34.96)
CIE-LCHlch(36.50, 35.36, 98.56°)
OKLaboklab(45.08% -0.0177 0.0785)
OKLCHoklch(45.08% 0.08 102.7)
XYZxyz(8.2111, 9.2710, 2.3340)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E571A #1A215E
analogous
#5E351A #5E571A #435E1A
triadic
#5E571A #1A5E57 #571A5E
tetradic
#5E571A #1A5E35 #1A215E #5E1A43
square
#5E571A #1A5E35 #1A215E #5E1A43
split-complementary
#5E571A #1A435E #351A5E
monochromatic
#181607 #2E2B0D #5E571A #8E8327 #BEB035

Accessibility & contrast

On white

7.36
#5E571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E571A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E571A#FFFFFF#000000##FFFFFF
##5E571A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5412
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#65514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e571a;
/* rgb */ color: rgb(94, 87, 26);
/* oklch */ color: oklch(45.1% 0.080 102.7);
Tailwind
colors: {
  custom: {
    50: '#8e865a',
    500: '#5e571a',
    950: '#000000',
  },
}
SCSS
$custom: #5e571a;
$custom-light: #8e865a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e571a",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 53.824,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.08047,
    "h": 102.7
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#5E571A
secondary
#404994
accent
#58E048
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E571A

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

Preview Lab → · Contrast checker → · Palette generator →

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