#8E9917#8E9917

#8E9917 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.141 H 114.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8E9917
RGBrgb(142, 153, 23)
HSLhsl(65, 74%, 35%)
HSVhsv(65, 85%, 60%)
CMYKcmyk(7.2%, 0%, 85%, 40%)
CIE-LABlab(60.42, -19.18, 59.51)
CIE-LCHlch(60.42, 62.53, 107.87°)
OKLaboklab(65.23% -0.0595 0.1283)
OKLCHoklch(65.23% 0.141 114.9)
XYZxyz(22.7019, 28.5955, 5.1340)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9917 #221799
analogous
#996317 #8E9917 #4D9917
triadic
#8E9917 #178E99 #99178E
tetradic
#8E9917 #179963 #221799 #99174D
square
#8E9917 #179963 #221799 #99174D
split-complementary
#8E9917 #174D99 #631799
monochromatic
#2B2F07 #5D640F #8E9917 #BFCE1F #D6E347

Accessibility & contrast

On white

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

On black

6.72
#8E9917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9917
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9917#FFFFFF#000000##000000
##8E99171.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A49325
Tritanopia (blue-blind)
#988F82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8e9917;
/* rgb */ color: rgb(142, 153, 23);
/* oklch */ color: oklch(65.2% 0.141 114.9);
Tailwind
colors: {
  custom: {
    50: '#b3b663',
    500: '#8e9917',
    950: '#000000',
  },
}
SCSS
$custom: #8e9917;
$custom-light: #b3b663;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9917",
  "rgb": {
    "r": 142,
    "g": 153,
    "b": 23
  },
  "hsl": {
    "h": 65.077,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.65227,
    "c": 0.14141,
    "h": 114.9
  },
  "luminance": 0.28595
}

Semantic roles & 50–950 ramp

primary
#8E9917
secondary
#5247C5
accent
#37F147
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9917

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

Preview Lab → · Contrast checker → · Palette generator →

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