#8D9917#8D9917

#8D9917 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.1% C 0.142 H 115.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8D9917
RGBrgb(141, 153, 23)
HSLhsl(66, 74%, 35%)
HSVhsv(66, 85%, 60%)
CMYKcmyk(7.8%, 0%, 85%, 40%)
CIE-LABlab(60.34, -19.62, 59.41)
CIE-LCHlch(60.34, 62.57, 108.28°)
OKLaboklab(65.14% -0.0606 0.1281)
OKLCHoklch(65.14% 0.142 115.3)
XYZxyz(22.5311, 28.5074, 5.1260)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9917 #231799
analogous
#996417 #8D9917 #4C9917
triadic
#8D9917 #178D99 #99178D
tetradic
#8D9917 #179964 #231799 #99174C
square
#8D9917 #179964 #231799 #99174C
split-complementary
#8D9917 #174C99 #641799
monochromatic
#2B2F07 #5C640F #8D9917 #BECE1F #D5E347

Accessibility & contrast

On white

3.13
#8D9917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8D9917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9917
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9917#FFFFFF#000000##000000
##8D99171.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A49225
Tritanopia (blue-blind)
#979082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d9917;
/* rgb */ color: rgb(141, 153, 23);
/* oklch */ color: oklch(65.1% 0.142 115.3);
Tailwind
colors: {
  custom: {
    50: '#b2b663',
    500: '#8d9917',
    950: '#000000',
  },
}
SCSS
$custom: #8d9917;
$custom-light: #b2b663;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9917",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 23
  },
  "hsl": {
    "h": 65.538,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.65144,
    "c": 0.14175,
    "h": 115.3
  },
  "luminance": 0.28507
}

Semantic roles & 50–950 ramp

primary
#8D9917
secondary
#5347C5
accent
#37F148
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9917

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

Preview Lab → · Contrast checker → · Palette generator →

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