#5D5310#5D5310

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

Color values

HEX#5D5310
RGBrgb(93, 83, 16)
HSLhsl(52, 71%, 21%)
HSVhsv(52, 83%, 36%)
CMYKcmyk(0%, 10.8%, 82.8%, 63.5%)
CIE-LABlab(35.11, -3.92, 37.78)
CIE-LCHlch(35.11, 37.99, 95.93°)
OKLaboklab(43.92% -0.015 0.0824)
OKLCHoklch(43.92% 0.084 100.3)
XYZxyz(7.7014, 8.5515, 1.7351)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5310 #101A5D
analogous
#5D2D10 #5D5310 #415D10
triadic
#5D5310 #105D53 #53105D
tetradic
#5D5310 #105D2D #101A5D #5D1041
square
#5D5310 #105D2D #101A5D #5D1041
split-complementary
#5D5310 #10415D #2D105D
monochromatic
#1A1704 #292407 #5D5310 #918219 #C5B022

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5310#FFFFFF#000000##FFFFFF
##5D53101.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)
#5C5003
Deuteranopia (green-blind)
#5F5415
Tritanopia (blue-blind)
#654C46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d5310;
/* rgb */ color: rgb(93, 83, 16);
/* oklch */ color: oklch(43.9% 0.084 100.3);
Tailwind
colors: {
  custom: {
    50: '#8e8355',
    500: '#5d5310',
    950: '#000000',
  },
}
SCSS
$custom: #5d5310;
$custom-light: #8e8355;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5310",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 52.208,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43924,
    "c": 0.0838,
    "h": 100.3
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#5D5310
secondary
#334096
accent
#52ED3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5310

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

Preview Lab → · Contrast checker → · Palette generator →

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