#8FD242#8FD242

#8FD242 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.1% C 0.186 H 131.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#8FD242
RGBrgb(143, 210, 66)
HSLhsl(88, 62%, 54%)
HSVhsv(88, 69%, 82%)
CMYKcmyk(31.9%, 0%, 68.6%, 17.6%)
CIE-LABlab(77.47, -43.31, 61.71)
CIE-LCHlch(77.47, 75.39, 125.06°)
OKLaboklab(79.12% -0.1223 0.1398)
OKLCHoklch(79.12% 0.186 131.2)
XYZxyz(35.3573, 52.3250, 13.3900)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FD242 #8542D2
analogous
#D2CD42 #8FD242 #47D242
triadic
#8FD242 #428FD2 #D2428F
tetradic
#8FD242 #42D2CD #8542D2 #D24247
square
#8FD242 #42D2CD #8542D2 #D24247
split-complementary
#8FD242 #4247D2 #CD42D2
monochromatic
#507C1E #70AD29 #8FD242 #ACDE73 #CAEAA5

Accessibility & contrast

On white

1.83
#8FD242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#8FD242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FD242
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FD242#FFFFFF#000000##000000
##8FD2421.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32C
Deuteranopia (green-blind)
#D2BE4F
Tritanopia (blue-blind)
#92C9B5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #8fd242;
/* rgb */ color: rgb(143, 210, 66);
/* oklch */ color: oklch(79.1% 0.186 131.2);
Tailwind
colors: {
  custom: {
    50: '#b4e07e',
    500: '#8fd242',
    950: '#000000',
  },
}
SCSS
$custom: #8fd242;
$custom-light: #b4e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fd242",
  "rgb": {
    "r": 143,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 87.917,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79118,
    "c": 0.18572,
    "h": 131.2
  },
  "luminance": 0.52326
}

Semantic roles & 50–950 ramp

primary
#8FD242
secondary
#593484
accent
#43E58E
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #8FD242

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

Preview Lab → · Contrast checker → · Palette generator →

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