#5E562B#5E562B

#5E562B is a mid, moderate yellow. Relative luminance 0.092; OKLCH L 45.0% C 0.063 H 99.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5E562B
RGBrgb(94, 86, 43)
HSLhsl(51, 37%, 27%)
HSVhsv(51, 54%, 37%)
CMYKcmyk(0%, 8.5%, 54.3%, 63.1%)
CIE-LABlab(36.39, -3.26, 26.00)
CIE-LCHlch(36.39, 26.21, 97.14°)
OKLaboklab(45.05% -0.0098 0.0618)
OKLCHoklch(45.05% 0.063 99)
XYZxyz(8.3802, 9.2100, 3.6213)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E562B #2B335E
analogous
#5E3D2B #5E562B #4D5E2B
triadic
#5E562B #2B5E56 #562B5E
tetradic
#5E562B #2B5E3D #2B335E #5E2B4D
square
#5E562B #2B5E3D #2B335E #5E2B4D
split-complementary
#5E562B #2B4D5E #3D2B5E
monochromatic
#15130A #343018 #5E562B #887C3E #B0A253

Accessibility & contrast

On white

7.39
#5E562B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5E562B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E562B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E562B#FFFFFF#000000##FFFFFF
##5E562B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5427
Deuteranopia (green-blind)
#5F572D
Tritanopia (blue-blind)
#65514C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e562b;
/* rgb */ color: rgb(94, 86, 43);
/* oklch */ color: oklch(45.0% 0.063 99.0);
Tailwind
colors: {
  custom: {
    50: '#8d8565',
    500: '#5e562b',
    950: '#000000',
  },
}
SCSS
$custom: #5e562b;
$custom-light: #8d8565;
$custom-dark: #000000;
JSON
{
  "hex": "#5e562b",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 43
  },
  "hsl": {
    "h": 50.588,
    "s": 37.226,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.06252,
    "h": 99
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

primary
#5E562B
secondary
#555E90
accent
#6DCD5B
background
#F8F8F6
surface
#F0EFEB
border
#CBCAC6
text
#0C0B06
muted
#7D7C7A

Preview Lab

Preview with #5E562B

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

Preview Lab → · Contrast checker → · Palette generator →

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