#5C5311#5C5311

#5C5311 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.8% C 0.083 H 101.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5C5311
RGBrgb(92, 83, 17)
HSLhsl(53, 69%, 21%)
HSVhsv(53, 82%, 36%)
CMYKcmyk(0%, 9.8%, 81.5%, 63.9%)
CIE-LABlab(35.01, -4.38, 37.28)
CIE-LCHlch(35.01, 37.53, 96.70°)
OKLaboklab(43.82% -0.0161 0.0816)
OKLCHoklch(43.82% 0.083 101.2)
XYZxyz(7.6084, 8.5026, 1.7706)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5311 #111A5C
analogous
#5C2E11 #5C5311 #405C11
triadic
#5C5311 #115C53 #53115C
tetradic
#5C5311 #115C2E #111A5C #5C1140
square
#5C5311 #115C2E #111A5C #5C1140
split-complementary
#5C5311 #11405C #2E115C
monochromatic
#1A1705 #282407 #5C5311 #90821B #C3B024

Accessibility & contrast

On white

7.78
#5C5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5C5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5311
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5311#FFFFFF#000000##FFFFFF
##5C53111.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5004
Deuteranopia (green-blind)
#5E5416
Tritanopia (blue-blind)
#644C46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c5311;
/* rgb */ color: rgb(92, 83, 17);
/* oklch */ color: oklch(43.8% 0.083 101.2);
Tailwind
colors: {
  custom: {
    50: '#8d8355',
    500: '#5c5311',
    950: '#000000',
  },
}
SCSS
$custom: #5c5311;
$custom-light: #8d8355;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5311",
  "rgb": {
    "r": 92,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 52.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43824,
    "c": 0.0832,
    "h": 101.2
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#5C5311
secondary
#344095
accent
#51EC3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5311

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

Preview Lab → · Contrast checker → · Palette generator →

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