#8D8D17#8D8D17

#8D8D17 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.129 H 109.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D8D17
RGBrgb(141, 141, 23)
HSLhsl(60, 72%, 32%)
HSVhsv(60, 84%, 55%)
CMYKcmyk(0%, 0%, 83.7%, 44.7%)
CIE-LABlab(56.86, -13.38, 56.44)
CIE-LCHlch(56.86, 58.01, 103.33°)
OKLaboklab(62.35% -0.0434 0.1217)
OKLCHoklch(62.35% 0.129 109.6)
XYZxyz(20.6648, 24.7750, 4.5039)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8D17 #17178D
analogous
#8D5217 #8D8D17 #528D17
triadic
#8D8D17 #178D8D #8D178D
tetradic
#8D8D17 #178D52 #17178D #8D1752
square
#8D8D17 #178D52 #17178D #8D1752
split-complementary
#8D8D17 #17528D #52178D
monochromatic
#242406 #58580E #8D8D17 #C2C220 #E0E03F

Accessibility & contrast

On white

3.53
#8D8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8D8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8D17
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8D17#FFFFFF#000000##000000
##8D8D171.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A23
Tritanopia (blue-blind)
#988378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8d8d17;
/* rgb */ color: rgb(141, 141, 23);
/* oklch */ color: oklch(62.3% 0.129 109.6);
Tailwind
colors: {
  custom: {
    50: '#b2ae61',
    500: '#8d8d17',
    950: '#000000',
  },
}
SCSS
$custom: #8d8d17;
$custom-light: #b2ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8d17",
  "rgb": {
    "r": 141,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62349,
    "c": 0.12921,
    "h": 109.6
  },
  "luminance": 0.24774
}

Semantic roles & 50–950 ramp

primary
#8D8D17
secondary
#4040C0
accent
#39EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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