#8CD242#8CD242

#8CD242 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 78.9% C 0.187 H 131.9°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#8CD242
RGBrgb(140, 210, 66)
HSLhsl(89, 62%, 54%)
HSVhsv(89, 69%, 82%)
CMYKcmyk(33.3%, 0%, 68.6%, 17.6%)
CIE-LABlab(77.32, -44.38, 61.49)
CIE-LCHlch(77.32, 75.83, 125.82°)
OKLaboklab(78.95% -0.125 0.1394)
OKLCHoklch(78.95% 0.187 131.9)
XYZxyz(34.8448, 52.0607, 13.3660)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD242 #8842D2
analogous
#D2D042 #8CD242 #44D242
triadic
#8CD242 #428CD2 #D2428C
tetradic
#8CD242 #42D2D0 #8842D2 #D24244
square
#8CD242 #42D2D0 #8842D2 #D24244
split-complementary
#8CD242 #4244D2 #D042D2
monochromatic
#4E7C1E #6DAD29 #8CD242 #AADE73 #C8EAA5

Accessibility & contrast

On white

1.84
#8CD242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#8CD242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD242
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD242#FFFFFF#000000##000000
##8CD2421.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC22C
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#8ECAB5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #8cd242;
/* rgb */ color: rgb(140, 210, 66);
/* oklch */ color: oklch(78.9% 0.187 131.9);
Tailwind
colors: {
  custom: {
    50: '#b2e07e',
    500: '#8cd242',
    950: '#000000',
  },
}
SCSS
$custom: #8cd242;
$custom-light: #b2e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd242",
  "rgb": {
    "r": 140,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 89.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78947,
    "c": 0.18723,
    "h": 131.9
  },
  "luminance": 0.52062
}

Semantic roles & 50–950 ramp

primary
#8CD242
secondary
#5B3484
accent
#43E592
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CD242

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

Preview Lab → · Contrast checker → · Palette generator →

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