#5C5312#5C5312

#5C5312 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.8% C 0.083 H 101.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5C5312
RGBrgb(92, 83, 18)
HSLhsl(53, 67%, 22%)
HSVhsv(53, 80%, 36%)
CMYKcmyk(0%, 9.8%, 80.4%, 63.9%)
CIE-LABlab(35.01, -4.33, 36.89)
CIE-LCHlch(35.01, 37.14, 96.69°)
OKLaboklab(43.83% -0.0159 0.081)
OKLCHoklch(43.83% 0.083 101.1)
XYZxyz(7.6164, 8.5058, 1.8128)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5312 #121B5C
analogous
#5C2E12 #5C5312 #405C12
triadic
#5C5312 #125C53 #53125C
tetradic
#5C5312 #125C2E #121B5C #5C1240
square
#5C5312 #125C2E #121B5C #5C1240
split-complementary
#5C5312 #12405C #2E125C
monochromatic
#1A1705 #292508 #5C5312 #8F811C #C2AF26

Accessibility & contrast

On white

7.77
#5C5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5C5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5312
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5312#FFFFFF#000000##FFFFFF
##5C53121.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5006
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#644C47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c5312;
/* rgb */ color: rgb(92, 83, 18);
/* oklch */ color: oklch(43.8% 0.083 101.1);
Tailwind
colors: {
  custom: {
    50: '#8d8356',
    500: '#5c5312',
    950: '#000000',
  },
}
SCSS
$custom: #5c5312;
$custom-light: #8d8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5312",
  "rgb": {
    "r": 92,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 52.703,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.08256,
    "h": 101.1
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#5C5312
secondary
#354194
accent
#53EA3E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5312

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

Preview Lab → · Contrast checker → · Palette generator →

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