#5C581A#5C581A

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

Color values

HEX#5C581A
RGBrgb(92, 88, 26)
HSLhsl(56, 56%, 23%)
HSVhsv(56, 72%, 36%)
CMYKcmyk(0%, 4.3%, 71.7%, 63.9%)
CIE-LABlab(36.61, -6.83, 35.01)
CIE-LCHlch(36.61, 35.67, 101.04°)
OKLaboklab(45.12% -0.022 0.0787)
OKLCHoklch(45.12% 0.082 105.6)
XYZxyz(8.0901, 9.3296, 2.3517)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C581A #1A1E5C
analogous
#5C371A #5C581A #3F5C1A
triadic
#5C581A #1A5C58 #581A5C
tetradic
#5C581A #1A5C37 #1A1E5C #5C1A3F
square
#5C581A #1A5C37 #1A1E5C #5C1A3F
split-complementary
#5C581A #1A3F5C #371A5C
monochromatic
#181707 #2C2A0D #5C581A #8C8627 #BBB335

Accessibility & contrast

On white

7.33
#5C581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5C581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C581A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C581A#FFFFFF#000000##FFFFFF
##5C581A1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605511
Deuteranopia (green-blind)
#62571E
Tritanopia (blue-blind)
#63524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c581a;
/* rgb */ color: rgb(92, 88, 26);
/* oklch */ color: oklch(45.1% 0.082 105.6);
Tailwind
colors: {
  custom: {
    50: '#8c865a',
    500: '#5c581a',
    950: '#000000',
  },
}
SCSS
$custom: #5c581a;
$custom-light: #8c865a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c581a",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 56.364,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4512,
    "c": 0.0817,
    "h": 105.6
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#5C581A
secondary
#404592
accent
#52DF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C581A

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

Preview Lab → · Contrast checker → · Palette generator →

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