#5C4D12#5C4D12

#5C4D12 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.4% C 0.078 H 94.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5C4D12
RGBrgb(92, 77, 18)
HSLhsl(48, 67%, 22%)
HSVhsv(48, 80%, 36%)
CMYKcmyk(0%, 16.3%, 80.4%, 63.9%)
CIE-LABlab(33.19, -0.71, 35.16)
CIE-LCHlch(33.19, 35.17, 91.15°)
OKLaboklab(42.39% -0.0056 0.0774)
OKLCHoklch(42.39% 0.078 94.1)
XYZxyz(7.1771, 7.6271, 1.6663)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4D12 #12215C
analogous
#5C2812 #5C4D12 #465C12
triadic
#5C4D12 #125C4D #4D125C
tetradic
#5C4D12 #125C28 #12215C #5C1246
square
#5C4D12 #125C28 #12215C #5C1246
split-complementary
#5C4D12 #12465C #28125C
monochromatic
#1A1505 #292208 #5C4D12 #8F781C #C2A326

Accessibility & contrast

On white

8.32
#5C4D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5C4D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4D12
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4D12#FFFFFF#000000##FFFFFF
##5C4D121.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B08
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#644641
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c4d12;
/* rgb */ color: rgb(92, 77, 18);
/* oklch */ color: oklch(42.4% 0.078 94.1);
Tailwind
colors: {
  custom: {
    50: '#8d7e55',
    500: '#5c4d12',
    950: '#000000',
  },
}
SCSS
$custom: #5c4d12;
$custom-light: #8d7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4d12",
  "rgb": {
    "r": 92,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 47.838,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.07755,
    "h": 94.1
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#5C4D12
secondary
#354994
accent
#61EA3E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0903
muted
#7D7B78

Preview Lab

Preview with #5C4D12

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

Preview Lab → · Contrast checker → · Palette generator →

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