#8E9819#8E9819

#8E9819 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.140 H 114.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8E9819
RGBrgb(142, 152, 25)
HSLhsl(65, 72%, 35%)
HSVhsv(65, 84%, 60%)
CMYKcmyk(6.6%, 0%, 83.6%, 40.4%)
CIE-LABlab(60.14, -18.61, 58.76)
CIE-LCHlch(60.14, 61.64, 107.57°)
OKLaboklab(65% -0.0578 0.127)
OKLCHoklch(65% 0.14 114.5)
XYZxyz(22.5597, 28.2779, 5.1893)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9819 #231998
analogous
#986219 #8E9819 #4F9819
triadic
#8E9819 #198E98 #98198E
tetradic
#8E9819 #199862 #231998 #98194F
square
#8E9819 #199862 #231998 #98194F
split-complementary
#8E9819 #194F98 #621998
monochromatic
#2C2F08 #5D6310 #8E9819 #BFCD22 #D5E14A

Accessibility & contrast

On white

3.16
#8E9819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8E9819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9819
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9819#FFFFFF#000000##000000
##8E98191.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A39226
Tritanopia (blue-blind)
#988E81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8e9819;
/* rgb */ color: rgb(142, 152, 25);
/* oklch */ color: oklch(65.0% 0.140 114.5);
Tailwind
colors: {
  custom: {
    50: '#b3b664',
    500: '#8e9819',
    950: '#000000',
  },
}
SCSS
$custom: #8e9819;
$custom-light: #b3b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9819",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 25
  },
  "hsl": {
    "h": 64.724,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.65001,
    "c": 0.13954,
    "h": 114.5
  },
  "luminance": 0.28277
}

Semantic roles & 50–950 ramp

primary
#8E9819
secondary
#534AC3
accent
#39EE48
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9819

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

Preview Lab → · Contrast checker → · Palette generator →

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