#5E571B#5E571B

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

Color values

HEX#5E571B
RGBrgb(94, 87, 27)
HSLhsl(54, 55%, 24%)
HSVhsv(54, 71%, 37%)
CMYKcmyk(0%, 7.4%, 71.3%, 63.1%)
CIE-LABlab(36.51, -5.20, 34.50)
CIE-LCHlch(36.51, 34.89, 98.57°)
OKLaboklab(45.09% -0.0174 0.0777)
OKLCHoklch(45.09% 0.08 102.6)
XYZxyz(8.2225, 9.2755, 2.3939)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E571B #1B225E
analogous
#5E351B #5E571B #435E1B
triadic
#5E571B #1B5E57 #571B5E
tetradic
#5E571B #1B5E35 #1B225E #5E1B43
square
#5E571B #1B5E35 #1B225E #5E1B43
split-complementary
#5E571B #1B435E #351B5E
monochromatic
#181607 #2E2B0D #5E571B #8E8329 #BDAF36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5e571b;
/* rgb */ color: rgb(94, 87, 27);
/* oklch */ color: oklch(45.1% 0.080 102.6);
Tailwind
colors: {
  custom: {
    50: '#8e865b',
    500: '#5e571b',
    950: '#000000',
  },
}
SCSS
$custom: #5e571b;
$custom-light: #8e865b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e571b",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 53.731,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.07964,
    "h": 102.6
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#5E571B
secondary
#414A94
accent
#59DF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E571B

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

Preview Lab → · Contrast checker → · Palette generator →

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