#5C5412#5C5412

#5C5412 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.1% C 0.084 H 102.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5C5412
RGBrgb(92, 84, 18)
HSLhsl(54, 67%, 22%)
HSVhsv(54, 80%, 36%)
CMYKcmyk(0%, 8.7%, 80.4%, 63.9%)
CIE-LABlab(35.32, -4.92, 37.18)
CIE-LCHlch(35.32, 37.50, 97.55°)
OKLaboklab(44.08% -0.0176 0.0816)
OKLCHoklch(44.08% 0.084 102.1)
XYZxyz(7.6935, 8.6600, 1.8384)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5412 #121A5C
analogous
#5C2F12 #5C5412 #3F5C12
triadic
#5C5412 #125C54 #54125C
tetradic
#5C5412 #125C2F #121A5C #5C123F
square
#5C5412 #125C2F #121A5C #5C123F
split-complementary
#5C5412 #123F5C #2F125C
monochromatic
#1A1705 #292508 #5C5412 #8F831C #C2B126

Accessibility & contrast

On white

7.69
#5C5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5C5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5412
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5412#FFFFFF#000000##FFFFFF
##5C54121.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5106
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#644D47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5c5412;
/* rgb */ color: rgb(92, 84, 18);
/* oklch */ color: oklch(44.1% 0.084 102.1);
Tailwind
colors: {
  custom: {
    50: '#8d8356',
    500: '#5c5412',
    950: '#000000',
  },
}
SCSS
$custom: #5c5412;
$custom-light: #8d8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5412",
  "rgb": {
    "r": 92,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 53.514,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44075,
    "c": 0.0835,
    "h": 102.1
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#5C5412
secondary
#354094
accent
#50EA3E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5412

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

Preview Lab → · Contrast checker → · Palette generator →

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