#8D9E17#8D9E17

#8D9E17 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.3% C 0.147 H 117.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8D9E17
RGBrgb(141, 158, 23)
HSLhsl(68, 75%, 35%)
HSVhsv(68, 85%, 62%)
CMYKcmyk(10.8%, 0%, 85.4%, 38%)
CIE-LABlab(61.81, -22.15, 60.65)
CIE-LCHlch(61.81, 64.57, 110.07°)
OKLaboklab(66.32% -0.0676 0.1308)
OKLCHoklch(66.32% 0.147 117.3)
XYZxyz(23.3667, 30.1786, 5.4045)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9E17 #28179E
analogous
#9E6C17 #8D9E17 #499E17
triadic
#8D9E17 #178D9E #9E178D
tetradic
#8D9E17 #179E6C #28179E #9E1749
square
#8D9E17 #179E6C #28179E #9E1749
split-complementary
#8D9E17 #17499E #6C179E
monochromatic
#2E3307 #5D690F #8D9E17 #BDD31F #D1E54B

Accessibility & contrast

On white

2.98
#8D9E17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#8D9E17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9E17
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9E17#FFFFFF#000000##000000
##8D9E171.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A89627
Tritanopia (blue-blind)
#969586
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9e17;
/* rgb */ color: rgb(141, 158, 23);
/* oklch */ color: oklch(66.3% 0.147 117.3);
Tailwind
colors: {
  custom: {
    50: '#b2ba64',
    500: '#8d9e17',
    950: '#000000',
  },
}
SCSS
$custom: #8d9e17;
$custom-light: #b2ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9e17",
  "rgb": {
    "r": 141,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 67.556,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66321,
    "c": 0.14724,
    "h": 117.3
  },
  "luminance": 0.30178
}

Semantic roles & 50–950 ramp

primary
#8D9E17
secondary
#5A4AC6
accent
#37F14E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9E17

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

Preview Lab → · Contrast checker → · Palette generator →

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