#5D5016#5D5016

#5D5016 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.2% C 0.077 H 96.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5D5016
RGBrgb(93, 80, 22)
HSLhsl(49, 62%, 23%)
HSVhsv(49, 76%, 36%)
CMYKcmyk(0%, 14%, 76.3%, 63.5%)
CIE-LABlab(34.24, -1.81, 34.47)
CIE-LCHlch(34.24, 34.52, 93.01°)
OKLaboklab(43.25% -0.0083 0.0767)
OKLCHoklch(43.25% 0.077 96.2)
XYZxyz(7.5281, 8.1228, 1.9302)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5016 #16235D
analogous
#5D2C16 #5D5016 #475D16
triadic
#5D5016 #165D50 #50165D
tetradic
#5D5016 #165D2C #16235D #5D1647
square
#5D5016 #165D2C #16235D #5D1647
split-complementary
#5D5016 #16475D #2C165D
monochromatic
#191506 #2C250A #5D5016 #8E7B22 #C0A52D

Accessibility & contrast

On white

8.00
#5D5016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5D5016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5016
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5016#FFFFFF#000000##FFFFFF
##5D50161.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0D
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#654944
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d5016;
/* rgb */ color: rgb(93, 80, 22);
/* oklch */ color: oklch(43.2% 0.077 96.2);
Tailwind
colors: {
  custom: {
    50: '#8e8057',
    500: '#5d5016',
    950: '#000000',
  },
}
SCSS
$custom: #5d5016;
$custom-light: #8e8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5016",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 22
  },
  "hsl": {
    "h": 49.014,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43249,
    "c": 0.07715,
    "h": 96.2
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#5D5016
secondary
#3B4B94
accent
#61E543
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A03
muted
#7D7C78

Preview Lab

Preview with #5D5016

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

Preview Lab → · Contrast checker → · Palette generator →

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