#5C5813#5C5813

#5C5813 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.1% C 0.087 H 106.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5C5813
RGBrgb(92, 88, 19)
HSLhsl(57, 66%, 22%)
HSVhsv(57, 79%, 36%)
CMYKcmyk(0%, 4.3%, 79.3%, 63.9%)
CIE-LABlab(36.56, -7.23, 37.95)
CIE-LCHlch(36.56, 38.63, 100.79°)
OKLaboklab(45.06% -0.024 0.0835)
OKLCHoklch(45.06% 0.087 106)
XYZxyz(8.0212, 9.3021, 1.9889)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5813 #13175C
analogous
#5C3413 #5C5813 #3C5C13
triadic
#5C5813 #135C58 #58135C
tetradic
#5C5813 #135C34 #13175C #5C133C
square
#5C5813 #135C34 #13175C #5C133C
split-complementary
#5C5813 #133C5C #34135C
monochromatic
#191805 #292709 #5C5813 #8F891D #C1B928

Accessibility & contrast

On white

7.34
#5C5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5C5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5813
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5813#FFFFFF#000000##FFFFFF
##5C58131.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605406
Deuteranopia (green-blind)
#625718
Tritanopia (blue-blind)
#63524B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5c5813;
/* rgb */ color: rgb(92, 88, 19);
/* oklch */ color: oklch(45.1% 0.087 106.0);
Tailwind
colors: {
  custom: {
    50: '#8d8657',
    500: '#5c5813',
    950: '#000000',
  },
}
SCSS
$custom: #5c5813;
$custom-light: #8d8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5813",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 56.712,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.08685,
    "h": 106
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#5C5813
secondary
#373C94
accent
#48E93F
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5C5813

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

Preview Lab → · Contrast checker → · Palette generator →

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