#5C5111#5C5111

#5C5111 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.081 H 99.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5C5111
RGBrgb(92, 81, 17)
HSLhsl(51, 69%, 21%)
HSVhsv(51, 82%, 36%)
CMYKcmyk(0%, 12%, 81.5%, 63.9%)
CIE-LABlab(34.40, -3.18, 36.71)
CIE-LCHlch(34.40, 36.85, 94.95°)
OKLaboklab(43.34% -0.0127 0.0804)
OKLCHoklch(43.34% 0.081 99)
XYZxyz(7.4576, 8.2010, 1.7203)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5111 #111C5C
analogous
#5C2C11 #5C5111 #425C11
triadic
#5C5111 #115C51 #51115C
tetradic
#5C5111 #115C2C #111C5C #5C1142
square
#5C5111 #115C2C #111C5C #5C1142
split-complementary
#5C5111 #11425C #2C115C
monochromatic
#1A1705 #282407 #5C5111 #907E1B #C3AC24

Accessibility & contrast

On white

7.95
#5C5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5C5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5111
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5111#FFFFFF#000000##FFFFFF
##5C51111.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#644A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5c5111;
/* rgb */ color: rgb(92, 81, 17);
/* oklch */ color: oklch(43.3% 0.081 99.0);
Tailwind
colors: {
  custom: {
    50: '#8d8155',
    500: '#5c5111',
    950: '#000000',
  },
}
SCSS
$custom: #5c5111;
$custom-light: #8d8155;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5111",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 51.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4334,
    "c": 0.08141,
    "h": 99
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#5C5111
secondary
#344295
accent
#56EC3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5111

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

Preview Lab → · Contrast checker → · Palette generator →

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