#5C5016#5C5016

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

Color values

HEX#5C5016
RGBrgb(92, 80, 22)
HSLhsl(50, 61%, 22%)
HSVhsv(50, 76%, 36%)
CMYKcmyk(0%, 13%, 76.1%, 63.9%)
CIE-LABlab(34.13, -2.31, 34.32)
CIE-LCHlch(34.13, 34.40, 93.85°)
OKLaboklab(43.14% -0.0097 0.0764)
OKLCHoklch(43.14% 0.077 97.2)
XYZxyz(7.4275, 8.0709, 1.9255)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5016 #16225C
analogous
#5C2D16 #5C5016 #455C16
triadic
#5C5016 #165C50 #50165C
tetradic
#5C5016 #165C2D #16225C #5C1645
square
#5C5016 #165C2D #16225C #5C1645
split-complementary
#5C5016 #16455C #2D165C
monochromatic
#191506 #2B250A #5C5016 #8D7B22 #BFA62E

Accessibility & contrast

On white

8.03
#5C5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C5016
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5016#FFFFFF#000000##FFFFFF
##5C50161.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5016;
/* rgb */ color: rgb(92, 80, 22);
/* oklch */ color: oklch(43.1% 0.077 97.2);
Tailwind
colors: {
  custom: {
    50: '#8d8057',
    500: '#5c5016',
    950: '#000000',
  },
}
SCSS
$custom: #5c5016;
$custom-light: #8d8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5016",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 49.714,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43139,
    "c": 0.07705,
    "h": 97.2
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#5C5016
secondary
#3B4A93
accent
#5FE543
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C5016

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

Preview Lab → · Contrast checker → · Palette generator →

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