#8EAE21#8EAE21

#8EAE21 is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.2% C 0.161 H 122.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8EAE21
RGBrgb(142, 174, 33)
HSLhsl(74, 68%, 41%)
HSVhsv(74, 81%, 68%)
CMYKcmyk(18.4%, 0%, 81%, 31.8%)
CIE-LABlab(66.62, -29.21, 62.28)
CIE-LCHlch(66.62, 68.79, 115.13°)
OKLaboklab(70.23% -0.0863 0.1359)
OKLCHoklch(70.23% 0.161 122.4)
XYZxyz(26.5663, 36.1326, 7.0133)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAE21 #4121AE
analogous
#AE8721 #8EAE21 #47AE21
triadic
#8EAE21 #218EAE #AE218E
tetradic
#8EAE21 #21AE87 #4121AE #AE2147
square
#8EAE21 #21AE87 #4121AE #AE2147
split-complementary
#8EAE21 #2147AE #8721AE
monochromatic
#3A470D #647B17 #8EAE21 #B3D834 #C6E267

Accessibility & contrast

On white

2.55
#8EAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#8EAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAE21
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAE21#FFFFFF#000000##000000
##8EAE211.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#96A595
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8eae21;
/* rgb */ color: rgb(142, 174, 33);
/* oklch */ color: oklch(70.2% 0.161 122.4);
Tailwind
colors: {
  custom: {
    50: '#b3c66a',
    500: '#8eae21',
    950: '#000000',
  },
}
SCSS
$custom: #8eae21;
$custom-light: #b3c66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eae21",
  "rgb": {
    "r": 142,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 73.617,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.16099,
    "h": 122.4
  },
  "luminance": 0.36133
}

Semantic roles & 50–950 ramp

primary
#8EAE21
secondary
#7A63C8
accent
#3DEB64
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8EAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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