#8EC251#8EC251

#8EC251 is a light, vivid yellow-green. Relative luminance 0.449; OKLCH L 75.4% C 0.154 H 130.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#8EC251
RGBrgb(142, 194, 81)
HSLhsl(88, 48%, 54%)
HSVhsv(88, 58%, 76%)
CMYKcmyk(26.8%, 0%, 58.2%, 23.9%)
CIE-LABlab(72.84, -35.36, 50.41)
CIE-LCHlch(72.84, 61.58, 125.05°)
OKLaboklab(75.38% -0.0992 0.1177)
OKLCHoklch(75.38% 0.154 130.1)
XYZxyz(31.9320, 44.9276, 14.7725)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC251 #8551C2
analogous
#C2BE51 #8EC251 #56C251
triadic
#8EC251 #518EC2 #C2518E
tetradic
#8EC251 #51C2BE #8551C2 #C25156
square
#8EC251 #51C2BE #8551C2 #C25156
split-complementary
#8EC251 #5156C2 #BE51C2
monochromatic
#4F7128 #6F9E37 #8EC251 #ABD27E #C9E2AC

Accessibility & contrast

On white

2.10
#8EC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#8EC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC251
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC251#FFFFFF#000000##000000
##8EC2511.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB545
Deuteranopia (green-blind)
#C3B259
Tritanopia (blue-blind)
#91BAA9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #8ec251;
/* rgb */ color: rgb(142, 194, 81);
/* oklch */ color: oklch(75.4% 0.154 130.1);
Tailwind
colors: {
  custom: {
    50: '#b2d486',
    500: '#8ec251',
    950: '#000000',
  },
}
SCSS
$custom: #8ec251;
$custom-light: #b2d486;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec251",
  "rgb": {
    "r": 142,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 87.611,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75381,
    "c": 0.15392,
    "h": 130.1
  },
  "luminance": 0.44928
}

Semantic roles & 50–950 ramp

primary
#8EC251
secondary
#B59FD0
accent
#50D88F
background
#FBFDF8
surface
#F6FAF0
border
#D0D3CB
text
#11140B
muted
#80837C

Preview Lab

Preview with #8EC251

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

Preview Lab → · Contrast checker → · Palette generator →

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