#5C4E12#5C4E12

#5C4E12 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.6% C 0.078 H 95.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5C4E12
RGBrgb(92, 78, 18)
HSLhsl(49, 67%, 22%)
HSVhsv(49, 80%, 36%)
CMYKcmyk(0%, 15.2%, 80.4%, 63.9%)
CIE-LABlab(33.50, -1.32, 35.45)
CIE-LCHlch(33.50, 35.47, 92.13°)
OKLaboklab(42.63% -0.0073 0.078)
OKLCHoklch(42.63% 0.078 95.4)
XYZxyz(7.2476, 7.7682, 1.6898)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4E12 #12205C
analogous
#5C2912 #5C4E12 #455C12
triadic
#5C4E12 #125C4E #4E125C
tetradic
#5C4E12 #125C29 #12205C #5C1245
square
#5C4E12 #125C29 #12205C #5C1245
split-complementary
#5C4E12 #12455C #29125C
monochromatic
#1A1605 #292308 #5C4E12 #8F791C #C2A526

Accessibility & contrast

On white

8.22
#5C4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5C4E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C4E12
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4E12#FFFFFF#000000##FFFFFF
##5C4E121.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C08
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#644742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5c4e12;
/* rgb */ color: rgb(92, 78, 18);
/* oklch */ color: oklch(42.6% 0.078 95.4);
Tailwind
colors: {
  custom: {
    50: '#8d7f55',
    500: '#5c4e12',
    950: '#000000',
  },
}
SCSS
$custom: #5c4e12;
$custom-light: #8d7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4e12",
  "rgb": {
    "r": 92,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 48.649,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.07831,
    "h": 95.4
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#5C4E12
secondary
#354794
accent
#5EEA3E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C4E12

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

Preview Lab → · Contrast checker → · Palette generator →

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