#8E9918#8E9918

#8E9918 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.141 H 114.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8E9918
RGBrgb(142, 153, 24)
HSLhsl(65, 73%, 35%)
HSVhsv(65, 84%, 60%)
CMYKcmyk(7.2%, 0%, 84.3%, 40%)
CIE-LABlab(60.43, -19.15, 59.26)
CIE-LCHlch(60.43, 62.28, 107.91°)
OKLaboklab(65.23% -0.0593 0.1279)
OKLCHoklch(65.23% 0.141 114.9)
XYZxyz(22.7121, 28.5996, 5.1878)
Luminance0.2860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9918 #231899
analogous
#996318 #8E9918 #4E9918
triadic
#8E9918 #188E99 #99188E
tetradic
#8E9918 #189963 #231899 #99184E
square
#8E9918 #189963 #231899 #99184E
split-complementary
#8E9918 #184E99 #631899
monochromatic
#2C2F07 #5D6410 #8E9918 #BFCE20 #D5E249

Accessibility & contrast

On white

3.13
#8E9918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8E9918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9918
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9918#FFFFFF#000000##000000
##8E99181.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A49326
Tritanopia (blue-blind)
#988F82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8e9918;
/* rgb */ color: rgb(142, 153, 24);
/* oklch */ color: oklch(65.2% 0.141 114.9);
Tailwind
colors: {
  custom: {
    50: '#b3b664',
    500: '#8e9918',
    950: '#000000',
  },
}
SCSS
$custom: #8e9918;
$custom-light: #b3b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9918",
  "rgb": {
    "r": 142,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 65.116,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.65231,
    "c": 0.14102,
    "h": 114.9
  },
  "luminance": 0.28599
}

Semantic roles & 50–950 ramp

primary
#8E9918
secondary
#5349C4
accent
#38F048
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9918

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

Preview Lab → · Contrast checker → · Palette generator →

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