#8E9921#8E9921

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

Color values

HEX#8E9921
RGBrgb(142, 153, 33)
HSLhsl(66, 65%, 36%)
HSVhsv(66, 78%, 60%)
CMYKcmyk(7.2%, 0%, 78.4%, 40%)
CIE-LABlab(60.47, -18.82, 56.74)
CIE-LCHlch(60.47, 59.78, 108.35°)
OKLaboklab(65.28% -0.0577 0.1241)
OKLCHoklch(65.28% 0.137 114.9)
XYZxyz(22.8217, 28.6435, 5.7651)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9921 #2C2199
analogous
#996821 #8E9921 #529921
triadic
#8E9921 #218E99 #99218E
tetradic
#8E9921 #219968 #2C2199 #992152
square
#8E9921 #219968 #2C2199 #992152
split-complementary
#8E9921 #215299 #682199
monochromatic
#31340B #5F6716 #8E9921 #BDCB2C #CFDB59

Accessibility & contrast

On white

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

On black

6.73
#8E9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9921
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9921#FFFFFF#000000##000000
##8E99211.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#989083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8e9921;
/* rgb */ color: rgb(142, 153, 33);
/* oklch */ color: oklch(65.3% 0.137 114.9);
Tailwind
colors: {
  custom: {
    50: '#b2b667',
    500: '#8e9921',
    950: '#000000',
  },
}
SCSS
$custom: #8e9921;
$custom-light: #b2b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9921",
  "rgb": {
    "r": 142,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 65.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65275,
    "c": 0.13691,
    "h": 114.9
  },
  "luminance": 0.28643
}

Semantic roles & 50–950 ramp

primary
#8E9921
secondary
#6056BF
accent
#40E850
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9921

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

Preview Lab → · Contrast checker → · Palette generator →

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