#5D5311#5D5311

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

Color values

HEX#5D5311
RGBrgb(93, 83, 17)
HSLhsl(52, 69%, 22%)
HSVhsv(52, 82%, 36%)
CMYKcmyk(0%, 10.8%, 81.7%, 63.5%)
CIE-LABlab(35.11, -3.88, 37.41)
CIE-LCHlch(35.11, 37.61, 95.92°)
OKLaboklab(43.93% -0.0148 0.0819)
OKLCHoklch(43.93% 0.083 100.2)
XYZxyz(7.7090, 8.5545, 1.7753)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5311 #111B5D
analogous
#5D2D11 #5D5311 #415D11
triadic
#5D5311 #115D53 #53115D
tetradic
#5D5311 #115D2D #111B5D #5D1141
square
#5D5311 #115D2D #111B5D #5D1141
split-complementary
#5D5311 #11415D #2D115D
monochromatic
#1A1705 #292508 #5D5311 #91811A #C4AF24

Accessibility & contrast

On white

7.75
#5D5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5D5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5311
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5311#FFFFFF#000000##FFFFFF
##5D53111.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5004
Deuteranopia (green-blind)
#5F5416
Tritanopia (blue-blind)
#654C46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d5311;
/* rgb */ color: rgb(93, 83, 17);
/* oklch */ color: oklch(43.9% 0.083 100.2);
Tailwind
colors: {
  custom: {
    50: '#8e8355',
    500: '#5d5311',
    950: '#000000',
  },
}
SCSS
$custom: #5d5311;
$custom-light: #8e8355;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5311",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 52.105,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.08318,
    "h": 100.2
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#5D5311
secondary
#344196
accent
#53EC3C
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5311

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

Preview Lab → · Contrast checker → · Palette generator →

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