#8EC052#8EC052

#8EC052 is a light, vivid yellow-green. Relative luminance 0.441; OKLCH L 74.9% C 0.150 H 129.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#8EC052
RGBrgb(142, 192, 82)
HSLhsl(87, 47%, 54%)
HSVhsv(87, 57%, 75%)
CMYKcmyk(26%, 0%, 57.3%, 24.7%)
CIE-LABlab(72.27, -34.35, 49.30)
CIE-LCHlch(72.27, 60.08, 124.87°)
OKLaboklab(74.92% -0.0963 0.1154)
OKLCHoklch(74.92% 0.15 129.8)
XYZxyz(31.5277, 44.0585, 14.8241)
Luminance0.4406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC052 #8452C0
analogous
#C0BB52 #8EC052 #57C052
triadic
#8EC052 #528EC0 #C0528E
tetradic
#8EC052 #52C0BB #8452C0 #C05257
square
#8EC052 #52C0BB #8452C0 #C05257
split-complementary
#8EC052 #5257C0 #BB52C0
monochromatic
#4F6F28 #6F9C39 #8EC052 #ABD07F #C9E1AC

Accessibility & contrast

On white

2.14
#8EC052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#8EC052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC052
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC052#FFFFFF#000000##000000
##8EC0521.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#C1B05A
Tritanopia (blue-blind)
#91B8A8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #8ec052;
/* rgb */ color: rgb(142, 192, 82);
/* oklch */ color: oklch(74.9% 0.150 129.8);
Tailwind
colors: {
  custom: {
    50: '#b2d386',
    500: '#8ec052',
    950: '#000000',
  },
}
SCSS
$custom: #8ec052;
$custom-light: #b2d386;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec052",
  "rgb": {
    "r": 142,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 87.273,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74917,
    "c": 0.15031,
    "h": 129.8
  },
  "luminance": 0.44059
}

Semantic roles & 50–950 ramp

primary
#8EC052
secondary
#B59FCE
accent
#52D68E
background
#FBFCF8
surface
#F6F9F0
border
#D0D2CB
text
#11140B
muted
#80827C

Preview Lab

Preview with #8EC052

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

Preview Lab → · Contrast checker → · Palette generator →

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