#5E571F#5E571F

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

Color values

HEX#5E571F
RGBrgb(94, 87, 31)
HSLhsl(53, 50%, 25%)
HSVhsv(53, 67%, 37%)
CMYKcmyk(0%, 7.4%, 67%, 63.1%)
CIE-LABlab(36.55, -4.92, 32.61)
CIE-LCHlch(36.55, 32.97, 98.58°)
OKLaboklab(45.13% -0.0161 0.0744)
OKLCHoklch(45.13% 0.076 102.2)
XYZxyz(8.2719, 9.2953, 2.6545)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E571F #1F265E
analogous
#5E381F #5E571F #465E1F
triadic
#5E571F #1F5E57 #571F5E
tetradic
#5E571F #1F5E38 #1F265E #5E1F46
square
#5E571F #1F5E38 #1F265E #5E1F46
split-complementary
#5E571F #1F465E #381F5E
monochromatic
#171508 #302C10 #5E571F #8C822E #BAAC3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E571F#FFFFFF#000000##FFFFFF
##5E571F1.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)
#5F5418
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#65514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e571f;
/* rgb */ color: rgb(94, 87, 31);
/* oklch */ color: oklch(45.1% 0.076 102.2);
Tailwind
colors: {
  custom: {
    50: '#8e865d',
    500: '#5e571f',
    950: '#000000',
  },
}
SCSS
$custom: #5e571f;
$custom-light: #8e865d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e571f",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 53.333,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.07612,
    "h": 102.2
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#5E571F
secondary
#464F93
accent
#5DDA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5E571F

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

Preview Lab → · Contrast checker → · Palette generator →

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