#5D5211#5D5211

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

Color values

HEX#5D5211
RGBrgb(93, 82, 17)
HSLhsl(51, 69%, 22%)
HSVhsv(51, 82%, 36%)
CMYKcmyk(0%, 11.8%, 81.7%, 63.5%)
CIE-LABlab(34.81, -3.28, 37.13)
CIE-LCHlch(34.81, 37.27, 95.05°)
OKLaboklab(43.69% -0.0131 0.0813)
OKLCHoklch(43.69% 0.082 99.2)
XYZxyz(7.6331, 8.4026, 1.7500)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5211 #111C5D
analogous
#5D2C11 #5D5211 #425D11
triadic
#5D5211 #115D52 #52115D
tetradic
#5D5211 #115D2C #111C5D #5D1142
square
#5D5211 #115D2C #111C5D #5D1142
split-complementary
#5D5211 #11425D #2C115D
monochromatic
#1A1705 #292408 #5D5211 #91801A #C4AD24

Accessibility & contrast

On white

7.83
#5D5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D5211
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5211#FFFFFF#000000##FFFFFF
##5D52111.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5211;
/* rgb */ color: rgb(93, 82, 17);
/* oklch */ color: oklch(43.7% 0.082 99.2);
Tailwind
colors: {
  custom: {
    50: '#8e8255',
    500: '#5d5211',
    950: '#000000',
  },
}
SCSS
$custom: #5d5211;
$custom-light: #8e8255;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5211",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 51.316,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43689,
    "c": 0.08231,
    "h": 99.2
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#5D5211
secondary
#344296
accent
#55EC3C
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5211

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

Preview Lab → · Contrast checker → · Palette generator →

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