#5C5310#5C5310

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

Color values

HEX#5C5310
RGBrgb(92, 83, 16)
HSLhsl(53, 70%, 21%)
HSVhsv(53, 83%, 36%)
CMYKcmyk(0%, 9.8%, 82.6%, 63.9%)
CIE-LABlab(35.00, -4.42, 37.65)
CIE-LCHlch(35.00, 37.91, 96.70°)
OKLaboklab(43.82% -0.0164 0.0822)
OKLCHoklch(43.82% 0.084 101.3)
XYZxyz(7.6008, 8.4996, 1.7303)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5310 #10195C
analogous
#5C2D10 #5C5310 #3F5C10
triadic
#5C5310 #105C53 #53105C
tetradic
#5C5310 #105C2D #10195C #5C103F
square
#5C5310 #105C2D #10195C #5C103F
split-complementary
#5C5310 #103F5C #2D105C
monochromatic
#1A1805 #282407 #5C5310 #908219 #C4B122

Accessibility & contrast

On white

7.78
#5C5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C5310
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5310#FFFFFF#000000##FFFFFF
##5C53101.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5003
Deuteranopia (green-blind)
#5E5415
Tritanopia (blue-blind)
#644C46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c5310;
/* rgb */ color: rgb(92, 83, 16);
/* oklch */ color: oklch(43.8% 0.084 101.3);
Tailwind
colors: {
  custom: {
    50: '#8d8355',
    500: '#5c5310',
    950: '#000000',
  },
}
SCSS
$custom: #5c5310;
$custom-light: #8d8355;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5310",
  "rgb": {
    "r": 92,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 52.895,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43817,
    "c": 0.08381,
    "h": 101.3
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#5C5310
secondary
#333E95
accent
#50ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5310

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

Preview Lab → · Contrast checker → · Palette generator →

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