#8FCF42#8FCF42

#8FCF42 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.4% C 0.182 H 130.7°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#8FCF42
RGBrgb(143, 207, 66)
HSLhsl(87, 59%, 54%)
HSVhsv(87, 68%, 81%)
CMYKcmyk(30.9%, 0%, 68.1%, 18.8%)
CIE-LABlab(76.59, -42.01, 60.79)
CIE-LCHlch(76.59, 73.90, 124.65°)
OKLaboklab(78.4% -0.1187 0.1379)
OKLCHoklch(78.4% 0.182 130.7)
XYZxyz(34.6236, 50.8575, 13.1455)
Luminance0.5086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FCF42 #8242CF
analogous
#CFC842 #8FCF42 #48CF42
triadic
#8FCF42 #428FCF #CF428F
tetradic
#8FCF42 #42CFC8 #8242CF #CF4248
square
#8FCF42 #42CFC8 #8242CF #CF4248
split-complementary
#8FCF42 #4248CF #C842CF
monochromatic
#4F781F #70A92B #8FCF42 #ACDB73 #C9E8A4

Accessibility & contrast

On white

1.88
#8FCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#8FCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FCF42
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FCF42#FFFFFF#000000##000000
##8FCF421.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#92C6B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #8fcf42;
/* rgb */ color: rgb(143, 207, 66);
/* oklch */ color: oklch(78.4% 0.182 130.7);
Tailwind
colors: {
  custom: {
    50: '#b4de7e',
    500: '#8fcf42',
    950: '#000000',
  },
}
SCSS
$custom: #8fcf42;
$custom-light: #b4de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fcf42",
  "rgb": {
    "r": 143,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 87.234,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78399,
    "c": 0.18196,
    "h": 130.7
  },
  "luminance": 0.50859
}

Semantic roles & 50–950 ramp

primary
#8FCF42
secondary
#573580
accent
#45E38D
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8FCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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