#8E9C19#8E9C19

#8E9C19 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.144 H 116.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8E9C19
RGBrgb(142, 156, 25)
HSLhsl(66, 72%, 35%)
HSVhsv(66, 84%, 61%)
CMYKcmyk(9%, 0%, 84%, 38.8%)
CIE-LABlab(61.31, -20.65, 59.76)
CIE-LCHlch(61.31, 63.23, 109.06°)
OKLaboklab(65.94% -0.0634 0.1292)
OKLCHoklch(65.94% 0.144 116.1)
XYZxyz(23.2199, 29.5983, 5.4093)
Luminance0.2960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9C19 #27199C
analogous
#9C6819 #8E9C19 #4C9C19
triadic
#8E9C19 #198E9C #9C198E
tetradic
#8E9C19 #199C68 #27199C #9C194C
square
#8E9C19 #199C68 #27199C #9C194C
split-complementary
#8E9C19 #194C9C #68199C
monochromatic
#2E3308 #5E6711 #8E9C19 #BED121 #D2E24D

Accessibility & contrast

On white

3.03
#8E9C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8E9C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9C19
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9C19#FFFFFF#000000##000000
##8E9C191.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A69527
Tritanopia (blue-blind)
#989385
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8e9c19;
/* rgb */ color: rgb(142, 156, 25);
/* oklch */ color: oklch(65.9% 0.144 116.1);
Tailwind
colors: {
  custom: {
    50: '#b3b964',
    500: '#8e9c19',
    950: '#000000',
  },
}
SCSS
$custom: #8e9c19;
$custom-light: #b3b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9c19",
  "rgb": {
    "r": 142,
    "g": 156,
    "b": 25
  },
  "hsl": {
    "h": 66.412,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65938,
    "c": 0.14389,
    "h": 116.1
  },
  "luminance": 0.29598
}

Semantic roles & 50–950 ramp

primary
#8E9C19
secondary
#594CC4
accent
#39EF4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9C19

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

Preview Lab → · Contrast checker → · Palette generator →

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