#5C511D#5C511D

#5C511D is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.072 H 97.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5C511D
RGBrgb(92, 81, 29)
HSLhsl(50, 52%, 24%)
HSVhsv(50, 68%, 36%)
CMYKcmyk(0%, 12%, 68.5%, 63.9%)
CIE-LABlab(34.50, -2.46, 31.34)
CIE-LCHlch(34.50, 31.43, 94.48°)
OKLaboklab(43.45% -0.0092 0.0714)
OKLCHoklch(43.45% 0.072 97.3)
XYZxyz(7.5782, 8.2492, 2.3553)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C511D #1D285C
analogous
#5C311D #5C511D #475C1D
triadic
#5C511D #1D5C51 #511D5C
tetradic
#5C511D #1D5C31 #1D285C #5C1D47
square
#5C511D #1D5C31 #1D285C #5C1D47
split-complementary
#5C511D #1D475C #311D5C
monochromatic
#171407 #2D280E #5C511D #8B7A2C #B9A33A

Accessibility & contrast

On white

7.93
#5C511D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5C511D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C511D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C511D#FFFFFF#000000##FFFFFF
##5C511D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F17
Deuteranopia (green-blind)
#5C5320
Tritanopia (blue-blind)
#634B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c511d;
/* rgb */ color: rgb(92, 81, 29);
/* oklch */ color: oklch(43.4% 0.072 97.3);
Tailwind
colors: {
  custom: {
    50: '#8c815c',
    500: '#5c511d',
    950: '#000000',
  },
}
SCSS
$custom: #5c511d;
$custom-light: #8c815c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c511d",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 29
  },
  "hsl": {
    "h": 49.524,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43449,
    "c": 0.07203,
    "h": 97.3
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#5C511D
secondary
#445191
accent
#65DC4C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C511D

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

Preview Lab → · Contrast checker → · Palette generator →

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