#8EAC28#8EAC28

#8EAC28 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.8% C 0.155 H 122.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8EAC28
RGBrgb(142, 172, 40)
HSLhsl(74, 62%, 42%)
HSVhsv(74, 77%, 67%)
CMYKcmyk(17.4%, 0%, 76.7%, 32.5%)
CIE-LABlab(66.07, -27.95, 59.67)
CIE-LCHlch(66.07, 65.89, 115.10°)
OKLaboklab(69.8% -0.0823 0.1316)
OKLCHoklch(69.8% 0.155 122)
XYZxyz(26.2913, 35.4090, 7.4566)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EAC28 #4628AC
analogous
#AC8828 #8EAC28 #4CAC28
triadic
#8EAC28 #288EAC #AC288E
tetradic
#8EAC28 #28AC88 #4628AC #AC284C
square
#8EAC28 #28AC88 #4628AC #AC284C
split-complementary
#8EAC28 #284CAC #8828AC
monochromatic
#3C4911 #657A1C #8EAC28 #B1D23F #C5DE71

Accessibility & contrast

On white

2.60
#8EAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#8EAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EAC28
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EAC28#FFFFFF#000000##000000
##8EAC281.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A105
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#96A393
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8eac28;
/* rgb */ color: rgb(142, 172, 40);
/* oklch */ color: oklch(69.8% 0.155 122.0);
Tailwind
colors: {
  custom: {
    50: '#b3c46d',
    500: '#8eac28',
    950: '#000000',
  },
}
SCSS
$custom: #8eac28;
$custom-light: #b3c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8eac28",
  "rgb": {
    "r": 142,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 73.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69795,
    "c": 0.15519,
    "h": 122
  },
  "luminance": 0.35409
}

Semantic roles & 50–950 ramp

primary
#8EAC28
secondary
#7F6BC5
accent
#42E567
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8EAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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