#5C5512#5C5512

#5C5512 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.3% C 0.084 H 103.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5C5512
RGBrgb(92, 85, 18)
HSLhsl(54, 67%, 22%)
HSVhsv(54, 80%, 36%)
CMYKcmyk(0%, 7.6%, 80.4%, 63.9%)
CIE-LABlab(35.63, -5.52, 37.46)
CIE-LCHlch(35.63, 37.87, 98.38°)
OKLaboklab(44.32% -0.0192 0.0822)
OKLCHoklch(44.32% 0.084 103.2)
XYZxyz(7.7717, 8.8163, 1.8645)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5512 #12195C
analogous
#5C3012 #5C5512 #3E5C12
triadic
#5C5512 #125C55 #55125C
tetradic
#5C5512 #125C30 #12195C #5C123E
square
#5C5512 #125C30 #12195C #5C123E
split-complementary
#5C5512 #123E5C #30125C
monochromatic
#1A1805 #292608 #5C5512 #8F841C #C2B426

Accessibility & contrast

On white

7.60
#5C5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5C5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5512
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5512#FFFFFF#000000##FFFFFF
##5C55121.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#605517
Tritanopia (blue-blind)
#644E48
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5c5512;
/* rgb */ color: rgb(92, 85, 18);
/* oklch */ color: oklch(44.3% 0.084 103.2);
Tailwind
colors: {
  custom: {
    50: '#8d8456',
    500: '#5c5512',
    950: '#000000',
  },
}
SCSS
$custom: #5c5512;
$custom-light: #8d8456;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5512",
  "rgb": {
    "r": 92,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 54.324,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44319,
    "c": 0.08446,
    "h": 103.2
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#5C5512
secondary
#353E94
accent
#4EEA3E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5512

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

Preview Lab → · Contrast checker → · Palette generator →

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