#8D8516#8D8516

#8D8516 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.122 H 105.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8D8516
RGBrgb(141, 133, 22)
HSLhsl(56, 73%, 32%)
HSVhsv(56, 84%, 55%)
CMYKcmyk(0%, 5.7%, 84.4%, 44.7%)
CIE-LABlab(54.55, -9.11, 54.75)
CIE-LCHlch(54.55, 55.50, 99.45°)
OKLaboklab(60.51% -0.0316 0.1178)
OKLCHoklch(60.51% 0.122 105)
XYZxyz(19.5177, 22.4965, 4.0731)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8516 #161E8D
analogous
#8D4916 #8D8516 #5A8D16
triadic
#8D8516 #168D85 #85168D
tetradic
#8D8516 #168D49 #161E8D #8D165A
square
#8D8516 #168D49 #161E8D #8D165A
split-complementary
#8D8516 #165A8D #49168D
monochromatic
#232105 #58530E #8D8516 #C2B71E #E1D63D

Accessibility & contrast

On white

3.82
#8D8516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8D8516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8516
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8516#FFFFFF#000000##000000
##8D85161.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#948520
Tritanopia (blue-blind)
#987B71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8516;
/* rgb */ color: rgb(141, 133, 22);
/* oklch */ color: oklch(60.5% 0.122 105.0);
Tailwind
colors: {
  custom: {
    50: '#b2a860',
    500: '#8d8516',
    950: '#000000',
  },
}
SCSS
$custom: #8d8516;
$custom-light: #b2a860;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8516",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 55.966,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60508,
    "c": 0.12199,
    "h": 105
  },
  "luminance": 0.22496
}

Semantic roles & 50–950 ramp

primary
#8D8516
secondary
#3E47C1
accent
#44F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8516

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

Preview Lab → · Contrast checker → · Palette generator →

#8D8516 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva