#8EAA21#8EAA21

#8EAA21 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 69.3% C 0.156 H 121.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8EAA21
RGBrgb(142, 170, 33)
HSLhsl(72, 67%, 40%)
HSVhsv(72, 81%, 67%)
CMYKcmyk(16.5%, 0%, 80.6%, 33.3%)
CIE-LABlab(65.44, -27.29, 61.23)
CIE-LCHlch(65.44, 67.03, 114.02°)
OKLaboklab(69.28% -0.081 0.1337)
OKLCHoklch(69.28% 0.156 121.2)
XYZxyz(25.8050, 34.6101, 6.7595)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAA21 #3D21AA
analogous
#AA8221 #8EAA21 #49AA21
triadic
#8EAA21 #218EAA #AA218E
tetradic
#8EAA21 #21AA82 #3D21AA #AA2149
square
#8EAA21 #21AA82 #3D21AA #AA2149
split-complementary
#8EAA21 #2149AA #8221AA
monochromatic
#38430D #637717 #8EAA21 #B5D731 #C8E164

Accessibility & contrast

On white

2.65
#8EAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#8EAA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAA21
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAA21#FFFFFF#000000##000000
##8EAA211.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#96A191
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8eaa21;
/* rgb */ color: rgb(142, 170, 33);
/* oklch */ color: oklch(69.3% 0.156 121.2);
Tailwind
colors: {
  custom: {
    50: '#b3c36a',
    500: '#8eaa21',
    950: '#000000',
  },
}
SCSS
$custom: #8eaa21;
$custom-light: #b3c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8eaa21",
  "rgb": {
    "r": 142,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 72.263,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69282,
    "c": 0.15632,
    "h": 121.2
  },
  "luminance": 0.3461
}

Semantic roles & 50–950 ramp

primary
#8EAA21
secondary
#7561C6
accent
#3DEA61
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8EAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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