#8CCF42#8CCF42

#8CCF42 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.2% C 0.183 H 131.5°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#8CCF42
RGBrgb(140, 207, 66)
HSLhsl(89, 59%, 54%)
HSVhsv(89, 68%, 81%)
CMYKcmyk(32.4%, 0%, 68.1%, 18.8%)
CIE-LABlab(76.43, -43.09, 60.58)
CIE-LCHlch(76.43, 74.34, 125.43°)
OKLaboklab(78.23% -0.1215 0.1375)
OKLCHoklch(78.23% 0.183 131.5)
XYZxyz(34.1111, 50.5932, 13.1214)
Luminance0.5059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CCF42 #8542CF
analogous
#CFCC42 #8CCF42 #45CF42
triadic
#8CCF42 #428CCF #CF428C
tetradic
#8CCF42 #42CFCC #8542CF #CF4245
square
#8CCF42 #42CFCC #8542CF #CF4245
split-complementary
#8CCF42 #4245CF #CC42CF
monochromatic
#4E781F #6DA92B #8CCF42 #AADB73 #C7E8A4

Accessibility & contrast

On white

1.89
#8CCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#8CCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CCF42
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CCF42#FFFFFF#000000##000000
##8CCF421.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ccf42;
/* rgb */ color: rgb(140, 207, 66);
/* oklch */ color: oklch(78.2% 0.183 131.5);
Tailwind
colors: {
  custom: {
    50: '#b2de7e',
    500: '#8ccf42',
    950: '#000000',
  },
}
SCSS
$custom: #8ccf42;
$custom-light: #b2de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ccf42",
  "rgb": {
    "r": 140,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 88.511,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78226,
    "c": 0.18346,
    "h": 131.5
  },
  "luminance": 0.50594
}

Semantic roles & 50–950 ramp

primary
#8CCF42
secondary
#593580
accent
#45E390
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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