#8FC242#8FC242

#8FC242 is a light, vivid yellow-green. Relative luminance 0.448; OKLCH L 75.3% C 0.165 H 128.5°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#8FC242
RGBrgb(143, 194, 66)
HSLhsl(84, 51%, 51%)
HSVhsv(84, 66%, 76%)
CMYKcmyk(26.3%, 0%, 66%, 23.9%)
CIE-LABlab(72.77, -36.24, 56.80)
CIE-LCHlch(72.77, 67.37, 122.54°)
OKLaboklab(75.29% -0.1029 0.1295)
OKLCHoklch(75.29% 0.165 128.5)
XYZxyz(31.6028, 44.8158, 12.1385)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FC242 #7542C2
analogous
#C2B542 #8FC242 #4FC242
triadic
#8FC242 #428FC2 #C2428F
tetradic
#8FC242 #42C2B5 #7542C2 #C2424F
square
#8FC242 #42C2B5 #7542C2 #C2424F
split-complementary
#8FC242 #424FC2 #B542C2
monochromatic
#4C6822 #6E9631 #8FC242 #AAD170 #C6E09F

Accessibility & contrast

On white

2.11
#8FC242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#8FC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FC242
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FC242#FFFFFF#000000##000000
##8FC2421.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#93BAA8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #8fc242;
/* rgb */ color: rgb(143, 194, 66);
/* oklch */ color: oklch(75.3% 0.165 128.5);
Tailwind
colors: {
  custom: {
    50: '#b3d47d',
    500: '#8fc242',
    950: '#000000',
  },
}
SCSS
$custom: #8fc242;
$custom-light: #b3d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fc242",
  "rgb": {
    "r": 143,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 83.906,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75294,
    "c": 0.1654,
    "h": 128.5
  },
  "luminance": 0.44817
}

Semantic roles & 50–950 ramp

primary
#8FC242
secondary
#AA94CC
accent
#4DDB86
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8FC242

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

Preview Lab → · Contrast checker → · Palette generator →

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