#8ECF40#8ECF40

#8ECF40 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.3% C 0.184 H 130.8°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#8ECF40
RGBrgb(142, 207, 64)
HSLhsl(87, 60%, 53%)
HSVhsv(87, 69%, 81%)
CMYKcmyk(31.4%, 0%, 69.1%, 18.8%)
CIE-LABlab(76.52, -42.51, 61.47)
CIE-LCHlch(76.52, 74.74, 124.67°)
OKLaboklab(78.33% -0.1202 0.139)
OKLCHoklch(78.33% 0.184 130.8)
XYZxyz(34.3933, 50.7455, 12.8322)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ECF40 #8140CF
analogous
#CFC940 #8ECF40 #46CF40
triadic
#8ECF40 #408ECF #CF408E
tetradic
#8ECF40 #40CFC9 #8140CF #CF4046
square
#8ECF40 #40CFC9 #8140CF #CF4046
split-complementary
#8ECF40 #4046CF #C940CF
monochromatic
#4E771E #6FA82A #8ECF40 #ABDB71 #C8E8A2

Accessibility & contrast

On white

1.88
#8ECF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#8ECF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ECF40
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ECF40#FFFFFF#000000##000000
##8ECF401.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#91C6B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #8ecf40;
/* rgb */ color: rgb(142, 207, 64);
/* oklch */ color: oklch(78.3% 0.184 130.8);
Tailwind
colors: {
  custom: {
    50: '#b3de7d',
    500: '#8ecf40',
    950: '#000000',
  },
}
SCSS
$custom: #8ecf40;
$custom-light: #b3de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ecf40",
  "rgb": {
    "r": 142,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 87.273,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78325,
    "c": 0.18379,
    "h": 130.8
  },
  "luminance": 0.50747
}

Semantic roles & 50–950 ramp

primary
#8ECF40
secondary
#56347F
accent
#45E38D
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8ECF40

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

Preview Lab → · Contrast checker → · Palette generator →

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