#8CD042#8CD042

#8CD042 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.5% C 0.185 H 131.6°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#8CD042
RGBrgb(140, 208, 66)
HSLhsl(89, 60%, 54%)
HSVhsv(89, 68%, 82%)
CMYKcmyk(32.7%, 0%, 68.3%, 18.4%)
CIE-LABlab(76.73, -43.52, 60.88)
CIE-LCHlch(76.73, 74.84, 125.56°)
OKLaboklab(78.47% -0.1227 0.1381)
OKLCHoklch(78.47% 0.185 131.6)
XYZxyz(34.3541, 51.0793, 13.2024)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD042 #8642D0
analogous
#D0CD42 #8CD042 #45D042
triadic
#8CD042 #428CD0 #D0428C
tetradic
#8CD042 #42D0CD #8642D0 #D04245
square
#8CD042 #42D0CD #8642D0 #D04245
split-complementary
#8CD042 #4245D0 #CD42D0
monochromatic
#4E791E #6DAA2A #8CD042 #AADC73 #C8E8A4

Accessibility & contrast

On white

1.87
#8CD042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#8CD042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD042
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD042#FFFFFF#000000##000000
##8CD0421.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#CFBC4E
Tritanopia (blue-blind)
#8EC8B4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #8cd042;
/* rgb */ color: rgb(140, 208, 66);
/* oklch */ color: oklch(78.5% 0.185 131.6);
Tailwind
colors: {
  custom: {
    50: '#b2df7e',
    500: '#8cd042',
    950: '#000000',
  },
}
SCSS
$custom: #8cd042;
$custom-light: #b2df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd042",
  "rgb": {
    "r": 140,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 88.732,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78466,
    "c": 0.18472,
    "h": 131.6
  },
  "luminance": 0.51081
}

Semantic roles & 50–950 ramp

primary
#8CD042
secondary
#593581
accent
#44E391
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CD042

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

Preview Lab → · Contrast checker → · Palette generator →

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