#8ECD40#8ECD40

#8ECD40 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 77.8% C 0.181 H 130.5°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#8ECD40
RGBrgb(142, 205, 64)
HSLhsl(87, 59%, 53%)
HSVhsv(87, 69%, 80%)
CMYKcmyk(30.7%, 0%, 68.8%, 19.6%)
CIE-LABlab(75.94, -41.65, 60.86)
CIE-LCHlch(75.94, 73.75, 124.38°)
OKLaboklab(77.85% -0.1178 0.1378)
OKLCHoklch(77.85% 0.181 130.5)
XYZxyz(33.9118, 49.7825, 12.6718)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ECD40 #7F40CD
analogous
#CDC640 #8ECD40 #47CD40
triadic
#8ECD40 #408ECD #CD408E
tetradic
#8ECD40 #40CDC6 #7F40CD #CD4047
square
#8ECD40 #40CDC6 #7F40CD #CD4047
split-complementary
#8ECD40 #4047CD #C640CD
monochromatic
#4E741E #6EA52B #8ECD40 #ABDA71 #C7E6A1

Accessibility & contrast

On white

1.92
#8ECD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#8ECD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ECD40
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ECD40#FFFFFF#000000##000000
##8ECD401.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#CDBA4C
Tritanopia (blue-blind)
#91C4B1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #8ecd40;
/* rgb */ color: rgb(142, 205, 64);
/* oklch */ color: oklch(77.8% 0.181 130.5);
Tailwind
colors: {
  custom: {
    50: '#b3dc7d',
    500: '#8ecd40',
    950: '#000000',
  },
}
SCSS
$custom: #8ecd40;
$custom-light: #b3dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ecd40",
  "rgb": {
    "r": 142,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 86.809,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77846,
    "c": 0.18129,
    "h": 130.5
  },
  "luminance": 0.49784
}

Semantic roles & 50–950 ramp

primary
#8ECD40
secondary
#B196D3
accent
#46E28C
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #8ECD40

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

Preview Lab → · Contrast checker → · Palette generator →

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