#5C5210#5C5210

#5C5210 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.6% C 0.083 H 100.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5C5210
RGBrgb(92, 82, 16)
HSLhsl(52, 70%, 21%)
HSVhsv(52, 83%, 36%)
CMYKcmyk(0%, 10.9%, 82.6%, 63.9%)
CIE-LABlab(34.70, -3.83, 37.37)
CIE-LCHlch(34.70, 37.57, 95.84°)
OKLaboklab(43.58% -0.0147 0.0816)
OKLCHoklch(43.58% 0.083 100.2)
XYZxyz(7.5248, 8.3477, 1.7050)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5210 #101A5C
analogous
#5C2C10 #5C5210 #405C10
triadic
#5C5210 #105C52 #52105C
tetradic
#5C5210 #105C2C #101A5C #5C1040
square
#5C5210 #105C2C #101A5C #5C1040
split-complementary
#5C5210 #10405C #2C105C
monochromatic
#1A1705 #282407 #5C5210 #908019 #C4AF22

Accessibility & contrast

On white

7.87
#5C5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C5210
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5210#FFFFFF#000000##FFFFFF
##5C52101.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c5210;
/* rgb */ color: rgb(92, 82, 16);
/* oklch */ color: oklch(43.6% 0.083 100.2);
Tailwind
colors: {
  custom: {
    50: '#8d8254',
    500: '#5c5210',
    950: '#000000',
  },
}
SCSS
$custom: #5c5210;
$custom-light: #8d8254;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5210",
  "rgb": {
    "r": 92,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 52.105,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.08292,
    "h": 100.2
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#5C5210
secondary
#334095
accent
#52ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5C5210

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

Preview Lab → · Contrast checker → · Palette generator →

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