#8E991A#8E991A

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

Color values

HEX#8E991A
RGBrgb(142, 153, 26)
HSLhsl(65, 71%, 35%)
HSVhsv(65, 83%, 60%)
CMYKcmyk(7.2%, 0%, 83%, 40%)
CIE-LABlab(60.43, -19.09, 58.75)
CIE-LCHlch(60.43, 61.78, 108.00°)
OKLaboklab(65.24% -0.059 0.1272)
OKLCHoklch(65.24% 0.14 114.9)
XYZxyz(22.7337, 28.6083, 5.3014)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E991A #251A99
analogous
#99651A #8E991A #4E991A
triadic
#8E991A #1A8E99 #991A8E
tetradic
#8E991A #1A9965 #251A99 #991A4E
square
#8E991A #1A9965 #251A99 #991A4E
split-complementary
#8E991A #1A4E99 #651A99
monochromatic
#2D3008 #5D6511 #8E991A #BFCD23 #D4E14D

Accessibility & contrast

On white

3.12
#8E991A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E991A#FFFFFF#000000##000000
##8E991A1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A49327
Tritanopia (blue-blind)
#989082
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8e991a;
/* rgb */ color: rgb(142, 153, 26);
/* oklch */ color: oklch(65.2% 0.140 114.9);
Tailwind
colors: {
  custom: {
    50: '#b3b664',
    500: '#8e991a',
    950: '#000000',
  },
}
SCSS
$custom: #8e991a;
$custom-light: #b3b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8e991a",
  "rgb": {
    "r": 142,
    "g": 153,
    "b": 26
  },
  "hsl": {
    "h": 65.197,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65239,
    "c": 0.1402,
    "h": 114.9
  },
  "luminance": 0.28608
}

Semantic roles & 50–950 ramp

primary
#8E991A
secondary
#564CC3
accent
#3AEE4A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E991A

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

Preview Lab → · Contrast checker → · Palette generator →

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