#8CD542#8CD542

#8CD542 is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 79.7% C 0.191 H 132.3°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#8CD542
RGBrgb(140, 213, 66)
HSLhsl(90, 64%, 55%)
HSVhsv(90, 69%, 84%)
CMYKcmyk(34.3%, 0%, 69%, 16.5%)
CIE-LABlab(78.20, -45.65, 62.41)
CIE-LCHlch(78.20, 77.32, 126.19°)
OKLaboklab(79.67% -0.1285 0.1413)
OKLCHoklch(79.67% 0.191 132.3)
XYZxyz(35.5924, 53.5559, 13.6152)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD542 #8B42D5
analogous
#D5D442 #8CD542 #43D542
triadic
#8CD542 #428CD5 #D5428C
tetradic
#8CD542 #42D5D4 #8B42D5 #D54243
square
#8CD542 #42D5D4 #8B42D5 #D54243
split-complementary
#8CD542 #4243D5 #D442D5
monochromatic
#4F801C #6DB228 #8CD542 #AAE074 #C9EBA6

Accessibility & contrast

On white

1.79
#8CD542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#8CD542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD542
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD542#FFFFFF#000000##000000
##8CD5421.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52B
Deuteranopia (green-blind)
#D4BF4F
Tritanopia (blue-blind)
#8ECCB8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #8cd542;
/* rgb */ color: rgb(140, 213, 66);
/* oklch */ color: oklch(79.7% 0.191 132.3);
Tailwind
colors: {
  custom: {
    50: '#b3e27e',
    500: '#8cd542',
    950: '#000000',
  },
}
SCSS
$custom: #8cd542;
$custom-light: #b3e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd542",
  "rgb": {
    "r": 140,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 89.796,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79669,
    "c": 0.19098,
    "h": 132.3
  },
  "luminance": 0.53557
}

Semantic roles & 50–950 ramp

primary
#8CD542
secondary
#5D3487
accent
#41E793
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CD542

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

Preview Lab → · Contrast checker → · Palette generator →

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