#5D5210#5D5210

#5D5210 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.083 H 99.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5D5210
RGBrgb(93, 82, 16)
HSLhsl(51, 71%, 21%)
HSVhsv(51, 83%, 36%)
CMYKcmyk(0%, 11.8%, 82.8%, 63.5%)
CIE-LABlab(34.80, -3.32, 37.51)
CIE-LCHlch(34.80, 37.65, 95.06°)
OKLaboklab(43.68% -0.0133 0.0818)
OKLCHoklch(43.68% 0.083 99.3)
XYZxyz(7.6254, 8.3995, 1.7097)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5210 #101B5D
analogous
#5D2C10 #5D5210 #425D10
triadic
#5D5210 #105D52 #52105D
tetradic
#5D5210 #105D2C #101B5D #5D1042
square
#5D5210 #105D2C #101B5D #5D1042
split-complementary
#5D5210 #10425D #2C105D
monochromatic
#1A1704 #292407 #5D5210 #918019 #C5AE22

Accessibility & contrast

On white

7.84
#5D5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5D5210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5210
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5210#FFFFFF#000000##FFFFFF
##5D52101.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5003
Deuteranopia (green-blind)
#5E5415
Tritanopia (blue-blind)
#654B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d5210;
/* rgb */ color: rgb(93, 82, 16);
/* oklch */ color: oklch(43.7% 0.083 99.3);
Tailwind
colors: {
  custom: {
    50: '#8e8254',
    500: '#5d5210',
    950: '#000000',
  },
}
SCSS
$custom: #5d5210;
$custom-light: #8e8254;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5210",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 51.429,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.08292,
    "h": 99.3
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#5D5210
secondary
#334196
accent
#54ED3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5210

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

Preview Lab → · Contrast checker → · Palette generator →

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