#5C5011#5C5011

#5C5011 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.081 H 97.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5C5011
RGBrgb(92, 80, 17)
HSLhsl(50, 69%, 21%)
HSVhsv(50, 82%, 36%)
CMYKcmyk(0%, 13%, 81.5%, 63.9%)
CIE-LABlab(34.09, -2.58, 36.42)
CIE-LCHlch(34.09, 36.51, 94.05°)
OKLaboklab(43.1% -0.011 0.0798)
OKLCHoklch(43.1% 0.081 97.9)
XYZxyz(7.3838, 8.0535, 1.6958)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5011 #111D5C
analogous
#5C2B11 #5C5011 #435C11
triadic
#5C5011 #115C50 #50115C
tetradic
#5C5011 #115C2B #111D5C #5C1143
square
#5C5011 #115C2B #111D5C #5C1143
split-complementary
#5C5011 #11435C #2B115C
monochromatic
#1A1605 #282307 #5C5011 #907D1B #C3AA24

Accessibility & contrast

On white

8.04
#5C5011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5C5011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5011
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5011#FFFFFF#000000##FFFFFF
##5C50111.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#644944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c5011;
/* rgb */ color: rgb(92, 80, 17);
/* oklch */ color: oklch(43.1% 0.081 97.9);
Tailwind
colors: {
  custom: {
    50: '#8d8055',
    500: '#5c5011',
    950: '#000000',
  },
}
SCSS
$custom: #5c5011;
$custom-light: #8d8055;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5011",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 50.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.08057,
    "h": 97.9
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#5C5011
secondary
#344495
accent
#58EC3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5011

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

Preview Lab → · Contrast checker → · Palette generator →

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