#8D9D17#8D9D17

#8D9D17 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.1% C 0.146 H 116.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D9D17
RGBrgb(141, 157, 23)
HSLhsl(67, 74%, 35%)
HSVhsv(67, 85%, 62%)
CMYKcmyk(10.2%, 0%, 85.4%, 38.4%)
CIE-LABlab(61.51, -21.65, 60.40)
CIE-LCHlch(61.51, 64.17, 109.72°)
OKLaboklab(66.09% -0.0662 0.1303)
OKLCHoklch(66.09% 0.146 116.9)
XYZxyz(23.1968, 29.8388, 5.3479)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D17 #27179D
analogous
#9D6A17 #8D9D17 #4A9D17
triadic
#8D9D17 #178D9D #9D178D
tetradic
#8D9D17 #179D6A #27179D #9D174A
square
#8D9D17 #179D6A #27179D #9D174A
split-complementary
#8D9D17 #174A9D #6A179D
monochromatic
#2D3207 #5D680F #8D9D17 #BDD21F #D2E44A

Accessibility & contrast

On white

3.01
#8D9D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#8D9D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D17
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D17#FFFFFF#000000##000000
##8D9D171.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A79526
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d17;
/* rgb */ color: rgb(141, 157, 23);
/* oklch */ color: oklch(66.1% 0.146 116.9);
Tailwind
colors: {
  custom: {
    50: '#b2b964',
    500: '#8d9d17',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d17;
$custom-light: #b2b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d17",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 67.164,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.66085,
    "c": 0.14613,
    "h": 116.9
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#8D9D17
secondary
#594AC6
accent
#37F14D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9D17

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

Preview Lab → · Contrast checker → · Palette generator →

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