#5C5211#5C5211

#5C5211 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.6% C 0.082 H 100.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5C5211
RGBrgb(92, 82, 17)
HSLhsl(52, 69%, 21%)
HSVhsv(52, 82%, 36%)
CMYKcmyk(0%, 10.9%, 81.5%, 63.9%)
CIE-LABlab(34.70, -3.78, 36.99)
CIE-LCHlch(34.70, 37.18, 95.83°)
OKLaboklab(43.58% -0.0144 0.081)
OKLCHoklch(43.58% 0.082 100.1)
XYZxyz(7.5325, 8.3507, 1.7453)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5211 #111B5C
analogous
#5C2D11 #5C5211 #415C11
triadic
#5C5211 #115C52 #52115C
tetradic
#5C5211 #115C2D #111B5C #5C1141
square
#5C5211 #115C2D #111B5C #5C1141
split-complementary
#5C5211 #11415C #2D115C
monochromatic
#1A1705 #282407 #5C5211 #90801B #C3AE24

Accessibility & contrast

On white

7.87
#5C5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5C5211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5211
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5211#FFFFFF#000000##FFFFFF
##5C52111.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F05
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#644B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c5211;
/* rgb */ color: rgb(92, 82, 17);
/* oklch */ color: oklch(43.6% 0.082 100.1);
Tailwind
colors: {
  custom: {
    50: '#8d8255',
    500: '#5c5211',
    950: '#000000',
  },
}
SCSS
$custom: #5c5211;
$custom-light: #8d8255;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5211",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 52,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43582,
    "c": 0.0823,
    "h": 100.1
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#5C5211
secondary
#344195
accent
#54EC3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5211

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

Preview Lab → · Contrast checker → · Palette generator →

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