#5D6516#5D6516

#5D6516 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.4% C 0.100 H 115.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5D6516
RGBrgb(93, 101, 22)
HSLhsl(66, 64%, 24%)
HSVhsv(66, 78%, 40%)
CMYKcmyk(7.9%, 0%, 78.2%, 60.4%)
CIE-LABlab(40.72, -13.99, 40.76)
CIE-LCHlch(40.72, 43.10, 108.94°)
OKLaboklab(48.42% -0.0425 0.09)
OKLCHoklch(48.42% 0.1 115.3)
XYZxyz(9.3130, 11.6926, 2.5252)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6516 #1E1665
analogous
#654616 #5D6516 #366516
triadic
#5D6516 #165D65 #65165D
tetradic
#5D6516 #166546 #1E1665 #651636
square
#5D6516 #166546 #1E1665 #651636
split-complementary
#5D6516 #163665 #461665
monochromatic
#171905 #2F330B #5D6516 #8B9721 #BACA2C

Accessibility & contrast

On white

6.29
#5D6516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D6516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6516
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6516#FFFFFF#000000##FFFFFF
##5D65161.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F06
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#635F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d6516;
/* rgb */ color: rgb(93, 101, 22);
/* oklch */ color: oklch(48.4% 0.100 115.3);
Tailwind
colors: {
  custom: {
    50: '#8e905a',
    500: '#5d6516',
    950: '#000000',
  },
}
SCSS
$custom: #5d6516;
$custom-light: #8e905a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6516",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 66.076,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4842,
    "c": 0.09956,
    "h": 115.3
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#5D6516
secondary
#453B9C
accent
#41E751
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6516

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

Preview Lab → · Contrast checker → · Palette generator →

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