#5C5213#5C5213

#5C5213 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.6% C 0.081 H 99.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5C5213
RGBrgb(92, 82, 19)
HSLhsl(52, 66%, 22%)
HSVhsv(52, 79%, 36%)
CMYKcmyk(0%, 10.9%, 79.3%, 63.9%)
CIE-LABlab(34.72, -3.68, 36.20)
CIE-LCHlch(34.72, 36.38, 95.81°)
OKLaboklab(43.6% -0.0139 0.0798)
OKLCHoklch(43.6% 0.081 99.9)
XYZxyz(7.5488, 8.3573, 1.8315)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5213 #131D5C
analogous
#5C2E13 #5C5213 #425C13
triadic
#5C5213 #135C52 #52135C
tetradic
#5C5213 #135C2E #131D5C #5C1342
square
#5C5213 #135C2E #131D5C #5C1342
split-complementary
#5C5213 #13425C #2E135C
monochromatic
#191705 #292509 #5C5213 #8F7F1D #C1AC28

Accessibility & contrast

On white

7.86
#5C5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5C5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C5213
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5213#FFFFFF#000000##FFFFFF
##5C52131.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5008
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#644B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5c5213;
/* rgb */ color: rgb(92, 82, 19);
/* oklch */ color: oklch(43.6% 0.081 99.9);
Tailwind
colors: {
  custom: {
    50: '#8d8256',
    500: '#5c5213',
    950: '#000000',
  },
}
SCSS
$custom: #5c5213;
$custom-light: #8d8256;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5213",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 51.781,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.08098,
    "h": 99.9
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#5C5213
secondary
#374494
accent
#56E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5213

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

Preview Lab → · Contrast checker → · Palette generator →

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