#8EC248#8EC248

#8EC248 is a light, vivid yellow-green. Relative luminance 0.448; OKLCH L 75.3% C 0.161 H 129.3°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#8EC248
RGBrgb(142, 194, 72)
HSLhsl(86, 50%, 52%)
HSVhsv(86, 63%, 76%)
CMYKcmyk(26.8%, 0%, 62.9%, 23.9%)
CIE-LABlab(72.76, -36.15, 54.27)
CIE-LCHlch(72.76, 65.21, 123.67°)
OKLaboklab(75.29% -0.1021 0.1249)
OKLCHoklch(75.29% 0.161 129.3)
XYZxyz(31.6166, 44.8015, 13.1114)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC248 #7C48C2
analogous
#C2B948 #8EC248 #51C248
triadic
#8EC248 #488EC2 #C2488E
tetradic
#8EC248 #48C2B9 #7C48C2 #C24851
square
#8EC248 #48C2B9 #7C48C2 #C24851
split-complementary
#8EC248 #4851C2 #B948C2
monochromatic
#4D6C24 #6E9A33 #8EC248 #AAD176 #C7E1A4

Accessibility & contrast

On white

2.11
#8EC248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#8EC248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC248
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC248#FFFFFF#000000##000000
##8EC2481.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB539
Deuteranopia (green-blind)
#C4B151
Tritanopia (blue-blind)
#92BAA8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #8ec248;
/* rgb */ color: rgb(142, 194, 72);
/* oklch */ color: oklch(75.3% 0.161 129.3);
Tailwind
colors: {
  custom: {
    50: '#b2d480',
    500: '#8ec248',
    950: '#000000',
  },
}
SCSS
$custom: #8ec248;
$custom-light: #b2d480;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec248",
  "rgb": {
    "r": 142,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 85.574,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75286,
    "c": 0.16135,
    "h": 129.3
  },
  "luminance": 0.44802
}

Semantic roles & 50–950 ramp

primary
#8EC248
secondary
#AF98CE
accent
#4EDA8A
background
#FBFDF8
surface
#F6FAEF
border
#D0D3CA
text
#11140B
muted
#80837C

Preview Lab

Preview with #8EC248

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

Preview Lab → · Contrast checker → · Palette generator →

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