#5C5116#5C5116

#5C5116 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.078 H 98.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5C5116
RGBrgb(92, 81, 22)
HSLhsl(51, 61%, 22%)
HSVhsv(51, 76%, 36%)
CMYKcmyk(0%, 12%, 76.1%, 63.9%)
CIE-LABlab(34.43, -2.92, 34.63)
CIE-LCHlch(34.43, 34.75, 94.81°)
OKLaboklab(43.38% -0.0114 0.0771)
OKLCHoklch(43.38% 0.078 98.4)
XYZxyz(7.5012, 8.2185, 1.9501)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5116 #16215C
analogous
#5C2E16 #5C5116 #445C16
triadic
#5C5116 #165C51 #51165C
tetradic
#5C5116 #165C2E #16215C #5C1644
square
#5C5116 #165C2E #16215C #5C1644
split-complementary
#5C5116 #16445C #2E165C
monochromatic
#191606 #2B260A #5C5116 #8D7C22 #BFA82E

Accessibility & contrast

On white

7.94
#5C5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C5116
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5116#FFFFFF#000000##FFFFFF
##5C51161.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5116;
/* rgb */ color: rgb(92, 81, 22);
/* oklch */ color: oklch(43.4% 0.078 98.4);
Tailwind
colors: {
  custom: {
    50: '#8d8157',
    500: '#5c5116',
    950: '#000000',
  },
}
SCSS
$custom: #5c5116;
$custom-light: #8d8157;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5116",
  "rgb": {
    "r": 92,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 50.571,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.07792,
    "h": 98.4
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#5C5116
secondary
#3B4993
accent
#5DE543
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C5116

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

Preview Lab → · Contrast checker → · Palette generator →

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