#8E9E17#8E9E17

#8E9E17 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.4% C 0.147 H 116.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8E9E17
RGBrgb(142, 158, 23)
HSLhsl(67, 75%, 35%)
HSVhsv(67, 85%, 62%)
CMYKcmyk(10.1%, 0%, 85.4%, 38%)
CIE-LABlab(61.88, -21.72, 60.74)
CIE-LCHlch(61.88, 64.51, 109.67°)
OKLaboklab(66.4% -0.0664 0.131)
OKLCHoklch(66.4% 0.147 116.9)
XYZxyz(23.5375, 30.2667, 5.4126)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9E17 #27179E
analogous
#9E6A17 #8E9E17 #4A9E17
triadic
#8E9E17 #178E9E #9E178E
tetradic
#8E9E17 #179E6A #27179E #9E174A
square
#8E9E17 #179E6A #27179E #9E174A
split-complementary
#8E9E17 #174A9E #6A179E
monochromatic
#2E3307 #5E690F #8E9E17 #BED31F #D2E54B

Accessibility & contrast

On white

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

On black

7.05
#8E9E17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9E17
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9E17#FFFFFF#000000##000000
##8E9E171.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e9e17;
/* rgb */ color: rgb(142, 158, 23);
/* oklch */ color: oklch(66.4% 0.147 116.9);
Tailwind
colors: {
  custom: {
    50: '#b3ba64',
    500: '#8e9e17',
    950: '#000000',
  },
}
SCSS
$custom: #8e9e17;
$custom-light: #b3ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9e17",
  "rgb": {
    "r": 142,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 67.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66401,
    "c": 0.14686,
    "h": 116.9
  },
  "luminance": 0.30266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E9E17

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

Preview Lab → · Contrast checker → · Palette generator →

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