#8E9E19#8E9E19

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

Color values

HEX#8E9E19
RGBrgb(142, 158, 25)
HSLhsl(67, 73%, 36%)
HSVhsv(67, 84%, 62%)
CMYKcmyk(10.1%, 0%, 84.2%, 38%)
CIE-LABlab(61.89, -21.66, 60.26)
CIE-LCHlch(61.89, 64.04, 109.77°)
OKLaboklab(66.41% -0.0661 0.1303)
OKLCHoklch(66.41% 0.146 116.9)
XYZxyz(23.5583, 30.2750, 5.5221)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9E19 #29199E
analogous
#9E6B19 #8E9E19 #4B9E19
triadic
#8E9E19 #198E9E #9E198E
tetradic
#8E9E19 #199E6B #29199E #9E194B
square
#8E9E19 #199E6B #29199E #9E194B
split-complementary
#8E9E19 #194B9E #6B199E
monochromatic
#2F3408 #5F6911 #8E9E19 #BDD321 #D1E34E

Accessibility & contrast

On white

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

On black

7.06
#8E9E19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9E19
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9E19#FFFFFF#000000##000000
##8E9E191.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e9e19;
/* rgb */ color: rgb(142, 158, 25);
/* oklch */ color: oklch(66.4% 0.146 116.9);
Tailwind
colors: {
  custom: {
    50: '#b3ba65',
    500: '#8e9e19',
    950: '#000000',
  },
}
SCSS
$custom: #8e9e19;
$custom-light: #b3ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9e19",
  "rgb": {
    "r": 142,
    "g": 158,
    "b": 25
  },
  "hsl": {
    "h": 67.218,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66409,
    "c": 0.14609,
    "h": 116.9
  },
  "luminance": 0.30275
}

Semantic roles & 50–950 ramp

primary
#8E9E19
secondary
#5C4EC5
accent
#38EF4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9E19

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

Preview Lab → · Contrast checker → · Palette generator →

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