#5C5318#5C5318

#5C5318 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.9% C 0.078 H 100.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5C5318
RGBrgb(92, 83, 24)
HSLhsl(52, 59%, 23%)
HSVhsv(52, 74%, 36%)
CMYKcmyk(0%, 9.8%, 73.9%, 63.9%)
CIE-LABlab(35.06, -4.00, 34.35)
CIE-LCHlch(35.06, 34.58, 96.64°)
OKLaboklab(43.88% -0.0142 0.0769)
OKLCHoklch(43.88% 0.078 100.5)
XYZxyz(7.6721, 8.5281, 2.1059)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5318 #18215C
analogous
#5C3118 #5C5318 #435C18
triadic
#5C5318 #185C53 #53185C
tetradic
#5C5318 #185C31 #18215C #5C1843
square
#5C5318 #185C31 #18215C #5C1843
split-complementary
#5C5318 #18435C #31185C
monochromatic
#181606 #2B270B #5C5318 #8D7F25 #BDAB31

Accessibility & contrast

On white

7.76
#5C5318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5C5318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5318
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5318#FFFFFF#000000##FFFFFF
##5C53181.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5010
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#634D47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c5318;
/* rgb */ color: rgb(92, 83, 24);
/* oklch */ color: oklch(43.9% 0.078 100.5);
Tailwind
colors: {
  custom: {
    50: '#8d8359',
    500: '#5c5318',
    950: '#000000',
  },
}
SCSS
$custom: #5c5318;
$custom-light: #8d8359;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5318",
  "rgb": {
    "r": 92,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 52.059,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43881,
    "c": 0.0782,
    "h": 100.5
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#5C5318
secondary
#3D4993
accent
#5BE246
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5C5318

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

Preview Lab → · Contrast checker → · Palette generator →

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