#5C5317#5C5317

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

Color values

HEX#5C5317
RGBrgb(92, 83, 23)
HSLhsl(52, 60%, 23%)
HSVhsv(52, 75%, 36%)
CMYKcmyk(0%, 9.8%, 75%, 63.9%)
CIE-LABlab(35.05, -4.06, 34.79)
CIE-LCHlch(35.05, 35.03, 96.65°)
OKLaboklab(43.87% -0.0145 0.0776)
OKLCHoklch(43.87% 0.079 100.6)
XYZxyz(7.6619, 8.5240, 2.0522)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5317 #17205C
analogous
#5C3117 #5C5317 #425C17
triadic
#5C5317 #175C53 #53175C
tetradic
#5C5317 #175C31 #17205C #5C1742
square
#5C5317 #175C31 #17205C #5C1742
split-complementary
#5C5317 #17425C #31175C
monochromatic
#181606 #2B270B #5C5317 #8D7F23 #BEAB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5317#FFFFFF#000000##FFFFFF
##5C53171.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#644D47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c5317;
/* rgb */ color: rgb(92, 83, 23);
/* oklch */ color: oklch(43.9% 0.079 100.6);
Tailwind
colors: {
  custom: {
    50: '#8d8358',
    500: '#5c5317',
    950: '#000000',
  },
}
SCSS
$custom: #5c5317;
$custom-light: #8d8358;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5317",
  "rgb": {
    "r": 92,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 52.174,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.07899,
    "h": 100.6
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#5C5317
secondary
#3C4793
accent
#59E345
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5C5317

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

Preview Lab → · Contrast checker → · Palette generator →

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