#5C591E#5C591E

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

Color values

HEX#5C591E
RGBrgb(92, 89, 30)
HSLhsl(57, 51%, 24%)
HSVhsv(57, 67%, 36%)
CMYKcmyk(0%, 3.3%, 67.4%, 63.9%)
CIE-LABlab(36.96, -7.14, 33.48)
CIE-LCHlch(36.96, 34.23, 102.04°)
OKLaboklab(45.41% -0.0224 0.0762)
OKLCHoklch(45.41% 0.079 106.4)
XYZxyz(8.2206, 9.5141, 2.6314)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C591E #1E215C
analogous
#5C3A1E #5C591E #405C1E
triadic
#5C591E #1E5C59 #591E5C
tetradic
#5C591E #1E5C3A #1E215C #5C1E40
square
#5C591E #1E5C3A #1E215C #5C1E40
split-complementary
#5C591E #1E405C #3A1E5C
monochromatic
#171608 #2E2C0F #5C591E #8A862D #B8B23C

Accessibility & contrast

On white

7.23
#5C591E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C591E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C591E#FFFFFF#000000##FFFFFF
##5C591E1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615617
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#63534D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5c591e;
/* rgb */ color: rgb(92, 89, 30);
/* oklch */ color: oklch(45.4% 0.079 106.4);
Tailwind
colors: {
  custom: {
    50: '#8c875d',
    500: '#5c591e',
    950: '#000000',
  },
}
SCSS
$custom: #5c591e;
$custom-light: #8c875d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c591e",
  "rgb": {
    "r": 92,
    "g": 89,
    "b": 30
  },
  "hsl": {
    "h": 57.097,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.07937,
    "h": 106.4
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#5C591E
secondary
#454991
accent
#54DA4D
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79

Preview Lab

Preview with #5C591E

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

Preview Lab → · Contrast checker → · Palette generator →

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