#5C4C12#5C4C12

#5C4C12 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.2% C 0.077 H 92.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5C4C12
RGBrgb(92, 76, 18)
HSLhsl(47, 67%, 22%)
HSVhsv(47, 80%, 36%)
CMYKcmyk(0%, 17.4%, 80.4%, 63.9%)
CIE-LABlab(32.89, -0.10, 34.88)
CIE-LCHlch(32.89, 34.88, 90.16°)
OKLaboklab(42.15% -0.0039 0.0767)
OKLCHoklch(42.15% 0.077 92.9)
XYZxyz(7.1076, 7.4883, 1.6432)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4C12 #12225C
analogous
#5C2712 #5C4C12 #475C12
triadic
#5C4C12 #125C4C #4C125C
tetradic
#5C4C12 #125C27 #12225C #5C1247
square
#5C4C12 #125C27 #12225C #5C1247
split-complementary
#5C4C12 #12475C #27125C
monochromatic
#1A1505 #292208 #5C4C12 #8F761C #C2A126

Accessibility & contrast

On white

8.41
#5C4C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5C4C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4C12
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4C12#FFFFFF#000000##FFFFFF
##5C4C121.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B08
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#644541
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c4c12;
/* rgb */ color: rgb(92, 76, 18);
/* oklch */ color: oklch(42.2% 0.077 92.9);
Tailwind
colors: {
  custom: {
    50: '#8d7d55',
    500: '#5c4c12',
    950: '#000000',
  },
}
SCSS
$custom: #5c4c12;
$custom-light: #8d7d55;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4c12",
  "rgb": {
    "r": 92,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 47.027,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.07684,
    "h": 92.9
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#5C4C12
secondary
#354A94
accent
#63EA3E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5C4C12

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

Preview Lab → · Contrast checker → · Palette generator →

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