#8D8716#8D8716

#8D8716 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.124 H 106.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8D8716
RGBrgb(141, 135, 22)
HSLhsl(57, 73%, 32%)
HSVhsv(57, 84%, 55%)
CMYKcmyk(0%, 4.3%, 84.4%, 44.7%)
CIE-LABlab(55.12, -10.19, 55.24)
CIE-LCHlch(55.12, 56.17, 100.46°)
OKLaboklab(60.97% -0.0346 0.1189)
OKLCHoklch(60.97% 0.124 106.2)
XYZxyz(19.7942, 23.0494, 4.1652)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8716 #161C8D
analogous
#8D4C16 #8D8716 #588D16
triadic
#8D8716 #168D87 #87168D
tetradic
#8D8716 #168D4C #161C8D #8D1658
square
#8D8716 #168D4C #161C8D #8D1658
split-complementary
#8D8716 #16588D #4C168D
monochromatic
#232205 #58540E #8D8716 #C2BA1E #E1D83D

Accessibility & contrast

On white

3.74
#8D8716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8D8716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8716
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8716#FFFFFF#000000##000000
##8D87161.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8716;
/* rgb */ color: rgb(141, 135, 22);
/* oklch */ color: oklch(61.0% 0.124 106.2);
Tailwind
colors: {
  custom: {
    50: '#b2a960',
    500: '#8d8716',
    950: '#000000',
  },
}
SCSS
$custom: #8d8716;
$custom-light: #b2a960;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8716",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 56.975,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.12383,
    "h": 106.2
  },
  "luminance": 0.23049
}

Semantic roles & 50–950 ramp

primary
#8D8716
secondary
#3E45C1
accent
#41F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8716

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

Preview Lab → · Contrast checker → · Palette generator →

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