#5C5216#5C5216

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

Color values

HEX#5C5216
RGBrgb(92, 82, 22)
HSLhsl(51, 61%, 22%)
HSVhsv(51, 76%, 36%)
CMYKcmyk(0%, 10.9%, 76.1%, 63.9%)
CIE-LABlab(34.74, -3.52, 34.93)
CIE-LCHlch(34.74, 35.11, 95.75°)
OKLaboklab(43.62% -0.0131 0.0777)
OKLCHoklch(43.62% 0.079 99.6)
XYZxyz(7.5761, 8.3682, 1.9751)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5216 #16205C
analogous
#5C2F16 #5C5216 #435C16
triadic
#5C5216 #165C52 #52165C
tetradic
#5C5216 #165C2F #16205C #5C1643
square
#5C5216 #165C2F #16205C #5C1643
split-complementary
#5C5216 #16435C #2F165C
monochromatic
#191606 #2B260A #5C5216 #8D7E22 #BFAA2E

Accessibility & contrast

On white

7.85
#5C5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C5216
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5216#FFFFFF#000000##FFFFFF
##5C52161.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5216;
/* rgb */ color: rgb(92, 82, 22);
/* oklch */ color: oklch(43.6% 0.079 99.6);
Tailwind
colors: {
  custom: {
    50: '#8d8258',
    500: '#5c5216',
    950: '#000000',
  },
}
SCSS
$custom: #5c5216;
$custom-light: #8d8258;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5216",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 51.429,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.07882,
    "h": 99.6
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

primary
#5C5216
secondary
#3B4793
accent
#5AE543
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C5216

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

Preview Lab → · Contrast checker → · Palette generator →

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