#5E561F#5E561F

#5E561F is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.9% C 0.075 H 101.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5E561F
RGBrgb(94, 86, 31)
HSLhsl(52, 50%, 25%)
HSVhsv(52, 67%, 37%)
CMYKcmyk(0%, 8.5%, 67%, 63.1%)
CIE-LABlab(36.24, -4.32, 32.28)
CIE-LCHlch(36.24, 32.56, 97.63°)
OKLaboklab(44.89% -0.0144 0.0737)
OKLCHoklch(44.89% 0.075 101)
XYZxyz(8.1915, 9.1345, 2.6277)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E561F #1F275E
analogous
#5E371F #5E561F #475E1F
triadic
#5E561F #1F5E56 #561F5E
tetradic
#5E561F #1F5E37 #1F275E #5E1F47
square
#5E561F #1F5E37 #1F275E #5E1F47
split-complementary
#5E561F #1F475E #371F5E
monochromatic
#171508 #302C10 #5E561F #8C802E #BAAA3D

Accessibility & contrast

On white

7.43
#5E561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5E561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E561F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E561F#FFFFFF#000000##FFFFFF
##5E561F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5319
Deuteranopia (green-blind)
#605722
Tritanopia (blue-blind)
#65504A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e561f;
/* rgb */ color: rgb(94, 86, 31);
/* oklch */ color: oklch(44.9% 0.075 101.0);
Tailwind
colors: {
  custom: {
    50: '#8e855d',
    500: '#5e561f',
    950: '#000000',
  },
}
SCSS
$custom: #5e561f;
$custom-light: #8e855d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e561f",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 52.381,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.07509,
    "h": 101
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#5E561F
secondary
#465093
accent
#60DA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5E561F

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

Preview Lab → · Contrast checker → · Palette generator →

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