#5C511A#5C511A

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

Color values

HEX#5C511A
RGBrgb(92, 81, 26)
HSLhsl(50, 56%, 23%)
HSVhsv(50, 72%, 36%)
CMYKcmyk(0%, 12%, 71.7%, 63.9%)
CIE-LABlab(34.47, -2.67, 32.79)
CIE-LCHlch(34.47, 32.90, 94.65°)
OKLaboklab(43.42% -0.0102 0.074)
OKLCHoklch(43.42% 0.075 97.8)
XYZxyz(7.5429, 8.2351, 2.1693)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C511A #1A255C
analogous
#5C301A #5C511A #465C1A
triadic
#5C511A #1A5C51 #511A5C
tetradic
#5C511A #1A5C30 #1A255C #5C1A46
square
#5C511A #1A5C30 #1A255C #5C1A46
split-complementary
#5C511A #1A465C #301A5C
monochromatic
#181507 #2C270D #5C511A #8C7B27 #BBA535

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C511A#FFFFFF#000000##FFFFFF
##5C511A1.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)
#594F13
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#644B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c511a;
/* rgb */ color: rgb(92, 81, 26);
/* oklch */ color: oklch(43.4% 0.075 97.8);
Tailwind
colors: {
  custom: {
    50: '#8d815a',
    500: '#5c511a',
    950: '#000000',
  },
}
SCSS
$custom: #5c511a;
$custom-light: #8d815a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c511a",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 50,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43417,
    "c": 0.07469,
    "h": 97.8
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#5C511A
secondary
#404E92
accent
#62DF49
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C511A

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

Preview Lab → · Contrast checker → · Palette generator →

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