#5C5013#5C5013

#5C5013 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.1% C 0.079 H 97.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5C5013
RGBrgb(92, 80, 19)
HSLhsl(50, 66%, 22%)
HSVhsv(50, 79%, 36%)
CMYKcmyk(0%, 13%, 79.3%, 63.9%)
CIE-LABlab(34.11, -2.48, 35.61)
CIE-LCHlch(34.11, 35.70, 93.98°)
OKLaboklab(43.11% -0.0105 0.0785)
OKLCHoklch(43.11% 0.079 97.6)
XYZxyz(7.4002, 8.0600, 1.7819)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5013 #131F5C
analogous
#5C2C13 #5C5013 #445C13
triadic
#5C5013 #135C50 #50135C
tetradic
#5C5013 #135C2C #131F5C #5C1344
square
#5C5013 #135C2C #131F5C #5C1344
split-complementary
#5C5013 #13445C #2C135C
monochromatic
#191605 #292409 #5C5013 #8F7C1D #C1A828

Accessibility & contrast

On white

8.04
#5C5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5C5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5013
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5013#FFFFFF#000000##FFFFFF
##5C50131.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#644944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c5013;
/* rgb */ color: rgb(92, 80, 19);
/* oklch */ color: oklch(43.1% 0.079 97.6);
Tailwind
colors: {
  custom: {
    50: '#8d8056',
    500: '#5c5013',
    950: '#000000',
  },
}
SCSS
$custom: #5c5013;
$custom-light: #8d8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5013",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 50.137,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.07923,
    "h": 97.6
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#5C5013
secondary
#374694
accent
#5BE93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5013

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

Preview Lab → · Contrast checker → · Palette generator →

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