#8CD540#8CD540

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

Color values

HEX#8CD540
RGBrgb(140, 213, 64)
HSLhsl(89, 64%, 54%)
HSVhsv(89, 70%, 84%)
CMYKcmyk(34.3%, 0%, 70%, 16.5%)
CIE-LABlab(78.19, -45.79, 63.13)
CIE-LCHlch(78.19, 77.99, 125.95°)
OKLaboklab(79.65% -0.129 0.1426)
OKLCHoklch(79.65% 0.192 132.1)
XYZxyz(35.5344, 53.5327, 13.3101)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD540 #8940D5
analogous
#D5D340 #8CD540 #42D540
triadic
#8CD540 #408CD5 #D5408C
tetradic
#8CD540 #40D5D3 #8940D5 #D54042
square
#8CD540 #40D5D3 #8940D5 #D54042
split-complementary
#8CD540 #4042D5 #D340D5
monochromatic
#4E7F1C #6DB127 #8CD540 #AAE072 #C8EBA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CD540#FFFFFF#000000##000000
##8CD5401.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)
#DEC528
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#8ECCB8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #8cd540;
/* rgb */ color: rgb(140, 213, 64);
/* oklch */ color: oklch(79.7% 0.192 132.1);
Tailwind
colors: {
  custom: {
    50: '#b3e27d',
    500: '#8cd540',
    950: '#000000',
  },
}
SCSS
$custom: #8cd540;
$custom-light: #b3e27d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd540",
  "rgb": {
    "r": 140,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 89.396,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79653,
    "c": 0.19226,
    "h": 132.1
  },
  "luminance": 0.53534
}

Semantic roles & 50–950 ramp

primary
#8CD540
secondary
#5C3386
accent
#41E792
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CD540

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

Preview Lab → · Contrast checker → · Palette generator →

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