#8EA521#8EA521

#8EA521 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 68.1% C 0.151 H 119.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8EA521
RGBrgb(142, 165, 33)
HSLhsl(70, 67%, 39%)
HSVhsv(70, 80%, 65%)
CMYKcmyk(13.9%, 0%, 80%, 35.3%)
CIE-LABlab(63.98, -24.85, 59.91)
CIE-LCHlch(63.98, 64.86, 112.53°)
OKLaboklab(68.1% -0.0743 0.1309)
OKLCHoklch(68.1% 0.151 119.6)
XYZxyz(24.8855, 32.7710, 6.4530)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EA521 #3821A5
analogous
#A57A21 #8EA521 #4CA521
triadic
#8EA521 #218EA5 #A5218E
tetradic
#8EA521 #21A57A #3821A5 #A5214C
square
#8EA521 #21A57A #3821A5 #A5214C
split-complementary
#8EA521 #214CA5 #7A21A5
monochromatic
#363F0D #627217 #8EA521 #B8D52E #C9DF61

Accessibility & contrast

On white

2.78
#8EA521 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#8EA521 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EA521
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EA521#FFFFFF#000000##000000
##8EA5211.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#979C8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8ea521;
/* rgb */ color: rgb(142, 165, 33);
/* oklch */ color: oklch(68.1% 0.151 119.6);
Tailwind
colors: {
  custom: {
    50: '#b3bf69',
    500: '#8ea521',
    950: '#000000',
  },
}
SCSS
$custom: #8ea521;
$custom-light: #b3bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ea521",
  "rgb": {
    "r": 142,
    "g": 165,
    "b": 33
  },
  "hsl": {
    "h": 70.455,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68097,
    "c": 0.15052,
    "h": 119.6
  },
  "luminance": 0.32771
}

Semantic roles & 50–950 ramp

primary
#8EA521
secondary
#6F5EC4
accent
#3EEA5C
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8EA521

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

Preview Lab → · Contrast checker → · Palette generator →

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