#5C511B#5C511B

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

Color values

HEX#5C511B
RGBrgb(92, 81, 27)
HSLhsl(50, 55%, 23%)
HSVhsv(50, 71%, 36%)
CMYKcmyk(0%, 12%, 70.7%, 63.9%)
CIE-LABlab(34.48, -2.60, 32.32)
CIE-LCHlch(34.48, 32.42, 94.60°)
OKLaboklab(43.43% -0.0099 0.0732)
OKLCHoklch(43.43% 0.074 97.7)
XYZxyz(7.5542, 8.2397, 2.2292)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C511B #1B265C
analogous
#5C301B #5C511B #465C1B
triadic
#5C511B #1B5C51 #511B5C
tetradic
#5C511B #1B5C30 #1B265C #5C1B46
square
#5C511B #1B5C30 #1B265C #5C1B46
split-complementary
#5C511B #1B465C #301B5C
monochromatic
#181507 #2D270D #5C511B #8B7B29 #BBA437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C511B#FFFFFF#000000##FFFFFF
##5C511B1.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)
#594F14
Deuteranopia (green-blind)
#5C531E
Tritanopia (blue-blind)
#634B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c511b;
/* rgb */ color: rgb(92, 81, 27);
/* oklch */ color: oklch(43.4% 0.074 97.7);
Tailwind
colors: {
  custom: {
    50: '#8d815a',
    500: '#5c511b',
    950: '#000000',
  },
}
SCSS
$custom: #5c511b;
$custom-light: #8d815a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c511b",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 49.846,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.07383,
    "h": 97.7
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#5C511B
secondary
#414F92
accent
#63DE4A
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C511B

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

Preview Lab → · Contrast checker → · Palette generator →

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