#8E9D17#8E9D17

#8E9D17 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.2% C 0.146 H 116.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8E9D17
RGBrgb(142, 157, 23)
HSLhsl(67, 74%, 35%)
HSVhsv(67, 85%, 62%)
CMYKcmyk(9.6%, 0%, 85.4%, 38.4%)
CIE-LABlab(61.59, -21.22, 60.50)
CIE-LCHlch(61.59, 64.11, 109.32°)
OKLaboklab(66.16% -0.0651 0.1304)
OKLCHoklch(66.16% 0.146 116.5)
XYZxyz(23.3676, 29.9269, 5.3559)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9D17 #26179D
analogous
#9D6917 #8E9D17 #4B9D17
triadic
#8E9D17 #178E9D #9D178E
tetradic
#8E9D17 #179D69 #26179D #9D174B
square
#8E9D17 #179D69 #26179D #9D174B
split-complementary
#8E9D17 #174B9D #69179D
monochromatic
#2D3207 #5E680F #8E9D17 #BED21F #D3E44A

Accessibility & contrast

On white

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

On black

6.99
#8E9D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9D17
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9D17#FFFFFF#000000##000000
##8E9D171.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A79626
Tritanopia (blue-blind)
#989386
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e9d17;
/* rgb */ color: rgb(142, 157, 23);
/* oklch */ color: oklch(66.2% 0.146 116.5);
Tailwind
colors: {
  custom: {
    50: '#b3b964',
    500: '#8e9d17',
    950: '#000000',
  },
}
SCSS
$custom: #8e9d17;
$custom-light: #b3b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9d17",
  "rgb": {
    "r": 142,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 66.716,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.66165,
    "c": 0.14576,
    "h": 116.5
  },
  "luminance": 0.29927
}

Semantic roles & 50–950 ramp

primary
#8E9D17
secondary
#584AC6
accent
#37F14C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9D17

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

Preview Lab → · Contrast checker → · Palette generator →

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