#8EA121#8EA121

#8EA121 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.2% C 0.146 H 118.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8EA121
RGBrgb(142, 161, 33)
HSLhsl(69, 66%, 38%)
HSVhsv(69, 80%, 63%)
CMYKcmyk(11.8%, 0%, 79.5%, 36.9%)
CIE-LABlab(62.80, -22.87, 58.86)
CIE-LCHlch(62.80, 63.14, 111.23°)
OKLaboklab(67.15% -0.0689 0.1286)
OKLCHoklch(67.15% 0.146 118.2)
XYZxyz(24.1753, 31.3506, 6.2163)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA121 #3421A1
analogous
#A17421 #8EA121 #4EA121
triadic
#8EA121 #218EA1 #A1218E
tetradic
#8EA121 #21A174 #3421A1 #A1214E
square
#8EA121 #21A174 #3421A1 #A1214E
split-complementary
#8EA121 #214EA1 #7421A1
monochromatic
#343B0C #616E17 #8EA121 #BBD42C #CBDE5E

Accessibility & contrast

On white

2.89
#8EA121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8EA121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA121
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA121#FFFFFF#000000##000000
##8EA1211.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#97988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8ea121;
/* rgb */ color: rgb(142, 161, 33);
/* oklch */ color: oklch(67.2% 0.146 118.2);
Tailwind
colors: {
  custom: {
    50: '#b3bc68',
    500: '#8ea121',
    950: '#000000',
  },
}
SCSS
$custom: #8ea121;
$custom-light: #b3bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea121",
  "rgb": {
    "r": 142,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 68.906,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67153,
    "c": 0.14593,
    "h": 118.2
  },
  "luminance": 0.3135
}

Semantic roles & 50–950 ramp

primary
#8EA121
secondary
#6A5BC3
accent
#3FE958
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA121

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

Preview Lab → · Contrast checker → · Palette generator →

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