#5C591A#5C591A

#5C591A is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.083 H 106.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5C591A
RGBrgb(92, 89, 26)
HSLhsl(57, 56%, 23%)
HSVhsv(57, 72%, 36%)
CMYKcmyk(0%, 3.3%, 71.7%, 63.9%)
CIE-LABlab(36.92, -7.42, 35.33)
CIE-LCHlch(36.92, 36.10, 101.85°)
OKLaboklab(45.37% -0.0237 0.0793)
OKLCHoklch(45.37% 0.083 106.6)
XYZxyz(8.1728, 9.4949, 2.3793)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C591A #1A1D5C
analogous
#5C381A #5C591A #3E5C1A
triadic
#5C591A #1A5C59 #591A5C
tetradic
#5C591A #1A5C38 #1A1D5C #5C1A3E
square
#5C591A #1A5C38 #1A1D5C #5C1A3E
split-complementary
#5C591A #1A3E5C #381A5C
monochromatic
#181707 #2C2B0D #5C591A #8C8727 #BBB535

Accessibility & contrast

On white

7.24
#5C591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5C591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C591A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C591A#FFFFFF#000000##FFFFFF
##5C591A1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615511
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#63534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c591a;
/* rgb */ color: rgb(92, 89, 26);
/* oklch */ color: oklch(45.4% 0.083 106.6);
Tailwind
colors: {
  custom: {
    50: '#8c875b',
    500: '#5c591a',
    950: '#000000',
  },
}
SCSS
$custom: #5c591a;
$custom-light: #8c875b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c591a",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 57.273,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.0828,
    "h": 106.6
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#5C591A
secondary
#404492
accent
#4FDF49
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C591A

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

Preview Lab → · Contrast checker → · Palette generator →

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