#8FCC42#8FCC42

#8FCC42 is a light, vivid yellow-green. Relative luminance 0.494; OKLCH L 77.7% C 0.178 H 130.3°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#8FCC42
RGBrgb(143, 204, 66)
HSLhsl(87, 58%, 53%)
HSVhsv(87, 68%, 80%)
CMYKcmyk(29.9%, 0%, 67.6%, 20%)
CIE-LABlab(75.71, -40.70, 59.88)
CIE-LCHlch(75.71, 72.40, 124.21°)
OKLaboklab(77.68% -0.1151 0.136)
OKLCHoklch(77.68% 0.178 130.3)
XYZxyz(33.9037, 49.4177, 12.9055)
Luminance0.4942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FCC42 #7F42CC
analogous
#CCC442 #8FCC42 #4ACC42
triadic
#8FCC42 #428FCC #CC428F
tetradic
#8FCC42 #42CCC4 #7F42CC #CC424A
square
#8FCC42 #42CCC4 #7F42CC #CC424A
split-complementary
#8FCC42 #424ACC #C442CC
monochromatic
#4F741F #6FA42C #8FCC42 #ACD972 #C8E6A2

Accessibility & contrast

On white

1.93
#8FCC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#8FCC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FCC42
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FCC42#FFFFFF#000000##000000
##8FCC421.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#CDB94E
Tritanopia (blue-blind)
#92C3B0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #8fcc42;
/* rgb */ color: rgb(143, 204, 66);
/* oklch */ color: oklch(77.7% 0.178 130.3);
Tailwind
colors: {
  custom: {
    50: '#b4dc7e',
    500: '#8fcc42',
    950: '#000000',
  },
}
SCSS
$custom: #8fcc42;
$custom-light: #b4dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8fcc42",
  "rgb": {
    "r": 143,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 86.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77682,
    "c": 0.17817,
    "h": 130.3
  },
  "luminance": 0.49419
}

Semantic roles & 50–950 ramp

primary
#8FCC42
secondary
#B197D3
accent
#47E18B
background
#FBFDF8
surface
#F6FBEF
border
#D0D4CA
text
#11150A
muted
#80837C

Preview Lab

Preview with #8FCC42

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

Preview Lab → · Contrast checker → · Palette generator →

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