#8FC742#8FC742

#8FC742 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.5% C 0.172 H 129.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#8FC742
RGBrgb(143, 199, 66)
HSLhsl(85, 54%, 52%)
HSVhsv(85, 67%, 78%)
CMYKcmyk(28.1%, 0%, 66.8%, 22%)
CIE-LABlab(74.24, -38.49, 58.34)
CIE-LCHlch(74.24, 69.90, 123.41°)
OKLaboklab(76.49% -0.1091 0.1327)
OKLCHoklch(76.49% 0.172 129.4)
XYZxyz(32.7343, 47.0790, 12.5157)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FC742 #7A42C7
analogous
#C7BD42 #8FC742 #4DC742
triadic
#8FC742 #428FC7 #C7428F
tetradic
#8FC742 #42C7BD #7A42C7 #C7424D
square
#8FC742 #42C7BD #7A42C7 #C7424D
split-complementary
#8FC742 #424DC7 #BD42C7
monochromatic
#4D6E21 #6F9D2F #8FC742 #ABD571 #C7E3A0

Accessibility & contrast

On white

2.02
#8FC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#8FC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FC742
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FC742#FFFFFF#000000##000000
##8FC7421.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92F
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#93BFAC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #8fc742;
/* rgb */ color: rgb(143, 199, 66);
/* oklch */ color: oklch(76.5% 0.172 129.4);
Tailwind
colors: {
  custom: {
    50: '#b4d87d',
    500: '#8fc742',
    950: '#000000',
  },
}
SCSS
$custom: #8fc742;
$custom-light: #b4d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#8fc742",
  "rgb": {
    "r": 143,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 85.263,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76487,
    "c": 0.17182,
    "h": 129.4
  },
  "luminance": 0.4708
}

Semantic roles & 50–950 ramp

primary
#8FC742
secondary
#AE95D0
accent
#4ADE88
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8FC742

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

Preview Lab → · Contrast checker → · Palette generator →

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