#5C5313#5C5313

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

Color values

HEX#5C5313
RGBrgb(92, 83, 19)
HSLhsl(53, 66%, 22%)
HSVhsv(53, 79%, 36%)
CMYKcmyk(0%, 9.8%, 79.3%, 63.9%)
CIE-LABlab(35.02, -4.28, 36.49)
CIE-LCHlch(35.02, 36.74, 96.69°)
OKLaboklab(43.84% -0.0156 0.0804)
OKLCHoklch(43.84% 0.082 101)
XYZxyz(7.6248, 8.5092, 1.8568)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5313 #131C5C
analogous
#5C2F13 #5C5313 #415C13
triadic
#5C5313 #135C53 #53135C
tetradic
#5C5313 #135C2F #131C5C #5C1341
square
#5C5313 #135C2F #131C5C #5C1341
split-complementary
#5C5313 #13415C #2F135C
monochromatic
#191705 #292509 #5C5313 #8F811D #C1AF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5313#FFFFFF#000000##FFFFFF
##5C53131.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)
#5C5007
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#644C47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c5313;
/* rgb */ color: rgb(92, 83, 19);
/* oklch */ color: oklch(43.8% 0.082 101.0);
Tailwind
colors: {
  custom: {
    50: '#8d8356',
    500: '#5c5313',
    950: '#000000',
  },
}
SCSS
$custom: #5c5313;
$custom-light: #8d8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5313",
  "rgb": {
    "r": 92,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 52.603,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.0819,
    "h": 101
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#5C5313
secondary
#374294
accent
#54E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C5313

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

Preview Lab → · Contrast checker → · Palette generator →

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