#5C5712#5C5712

#5C5712 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.8% C 0.086 H 105.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5C5712
RGBrgb(92, 87, 18)
HSLhsl(56, 67%, 22%)
HSVhsv(56, 80%, 36%)
CMYKcmyk(0%, 5.4%, 80.4%, 63.9%)
CIE-LABlab(36.24, -6.70, 38.04)
CIE-LCHlch(36.24, 38.63, 99.98°)
OKLaboklab(44.81% -0.0225 0.0835)
OKLCHoklch(44.81% 0.086 105.1)
XYZxyz(7.9313, 9.1357, 1.9177)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5712 #12175C
analogous
#5C3212 #5C5712 #3C5C12
triadic
#5C5712 #125C57 #57125C
tetradic
#5C5712 #125C32 #12175C #5C123C
square
#5C5712 #125C32 #12175C #5C123C
split-complementary
#5C5712 #123C5C #32125C
monochromatic
#1A1805 #292708 #5C5712 #8F871C #C2B826

Accessibility & contrast

On white

7.43
#5C5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5C5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5712
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5712#FFFFFF#000000##FFFFFF
##5C57121.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5404
Deuteranopia (green-blind)
#615717
Tritanopia (blue-blind)
#63504A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5c5712;
/* rgb */ color: rgb(92, 87, 18);
/* oklch */ color: oklch(44.8% 0.086 105.1);
Tailwind
colors: {
  custom: {
    50: '#8d8656',
    500: '#5c5712',
    950: '#000000',
  },
}
SCSS
$custom: #5c5712;
$custom-light: #8d8656;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5712",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 55.946,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44809,
    "c": 0.08646,
    "h": 105.1
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#5C5712
secondary
#353C94
accent
#49EA3E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5C5712

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

Preview Lab → · Contrast checker → · Palette generator →

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