#8D8417#8D8417

#8D8417 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 60.3% C 0.121 H 104.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8D8417
RGBrgb(141, 132, 23)
HSLhsl(55, 72%, 32%)
HSVhsv(55, 84%, 55%)
CMYKcmyk(0%, 6.4%, 83.7%, 44.7%)
CIE-LABlab(54.27, -8.53, 54.23)
CIE-LCHlch(54.27, 54.90, 98.94°)
OKLaboklab(60.29% -0.0299 0.1169)
OKLCHoklch(60.29% 0.121 104.4)
XYZxyz(19.3913, 22.2279, 4.0794)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8417 #17208D
analogous
#8D4917 #8D8417 #5B8D17
triadic
#8D8417 #178D84 #84178D
tetradic
#8D8417 #178D49 #17208D #8D175B
square
#8D8417 #178D49 #17208D #8D175B
split-complementary
#8D8417 #175B8D #49178D
monochromatic
#242106 #58530E #8D8417 #C2B520 #E0D33F

Accessibility & contrast

On white

3.86
#8D8417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8D8417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8417
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8417#FFFFFF#000000##000000
##8D84171.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#987A70
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d8417;
/* rgb */ color: rgb(141, 132, 23);
/* oklch */ color: oklch(60.3% 0.121 104.4);
Tailwind
colors: {
  custom: {
    50: '#b2a760',
    500: '#8d8417',
    950: '#000000',
  },
}
SCSS
$custom: #8d8417;
$custom-light: #b2a760;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8417",
  "rgb": {
    "r": 141,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 55.424,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60285,
    "c": 0.12066,
    "h": 104.4
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

primary
#8D8417
secondary
#404AC0
accent
#47EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D8417

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

Preview Lab → · Contrast checker → · Palette generator →

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