#5C5612#5C5612

#5C5612 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.085 H 104.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5C5612
RGBrgb(92, 86, 18)
HSLhsl(55, 67%, 22%)
HSVhsv(55, 80%, 36%)
CMYKcmyk(0%, 6.5%, 80.4%, 63.9%)
CIE-LABlab(35.94, -6.11, 37.75)
CIE-LCHlch(35.94, 38.24, 99.19°)
OKLaboklab(44.56% -0.0209 0.0828)
OKLCHoklch(44.56% 0.085 104.2)
XYZxyz(7.8509, 8.9749, 1.8909)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5612 #12185C
analogous
#5C3112 #5C5612 #3D5C12
triadic
#5C5612 #125C56 #56125C
tetradic
#5C5612 #125C31 #12185C #5C123D
square
#5C5612 #125C31 #12185C #5C123D
split-complementary
#5C5612 #123D5C #31125C
monochromatic
#1A1805 #292608 #5C5612 #8F861C #C2B626

Accessibility & contrast

On white

7.51
#5C5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5C5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5612
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5612#FFFFFF#000000##FFFFFF
##5C56121.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5305
Deuteranopia (green-blind)
#605617
Tritanopia (blue-blind)
#644F49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c5612;
/* rgb */ color: rgb(92, 86, 18);
/* oklch */ color: oklch(44.6% 0.085 104.2);
Tailwind
colors: {
  custom: {
    50: '#8d8556',
    500: '#5c5612',
    950: '#000000',
  },
}
SCSS
$custom: #5c5612;
$custom-light: #8d8556;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5612",
  "rgb": {
    "r": 92,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 55.135,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.08545,
    "h": 104.2
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#5C5612
secondary
#353D94
accent
#4CEA3E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B03
muted
#7D7C78

Preview Lab

Preview with #5C5612

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

Preview Lab → · Contrast checker → · Palette generator →

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