#5D6016#5D6016

#5D6016 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.2% C 0.094 H 111.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5D6016
RGBrgb(93, 96, 22)
HSLhsl(62, 63%, 23%)
HSVhsv(62, 77%, 38%)
CMYKcmyk(3.1%, 0%, 77.1%, 62.4%)
CIE-LABlab(39.16, -11.19, 39.27)
CIE-LCHlch(39.16, 40.84, 105.91°)
OKLaboklab(47.17% -0.0348 0.0869)
OKLCHoklch(47.17% 0.094 111.8)
XYZxyz(8.8422, 10.7510, 2.3683)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6016 #191660
analogous
#603E16 #5D6016 #386016
triadic
#5D6016 #165D60 #60165D
tetradic
#5D6016 #16603E #191660 #601638
square
#5D6016 #16603E #191660 #601638
split-complementary
#5D6016 #163860 #3E1660
monochromatic
#181906 #2D2E0B #5D6016 #8D9221 #BDC42D

Accessibility & contrast

On white

6.67
#5D6016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5D6016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6016
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6016#FFFFFF#000000##FFFFFF
##5D60161.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B08
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#645A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d6016;
/* rgb */ color: rgb(93, 96, 22);
/* oklch */ color: oklch(47.2% 0.094 111.8);
Tailwind
colors: {
  custom: {
    50: '#8e8d59',
    500: '#5d6016',
    950: '#000000',
  },
}
SCSS
$custom: #5d6016;
$custom-light: #8e8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6016",
  "rgb": {
    "r": 93,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 62.432,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47166,
    "c": 0.09356,
    "h": 111.8
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

primary
#5D6016
secondary
#3F3B97
accent
#42E649
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6016

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

Preview Lab → · Contrast checker → · Palette generator →

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