#8CCA40#8CCA40

#8CCA40 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.0% C 0.179 H 130.6°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#8CCA40
RGBrgb(140, 202, 64)
HSLhsl(87, 57%, 52%)
HSVhsv(87, 68%, 79%)
CMYKcmyk(30.7%, 0%, 68.3%, 20.8%)
CIE-LABlab(74.94, -41.06, 59.80)
CIE-LCHlch(74.94, 72.54, 124.47°)
OKLaboklab(77.01% -0.1161 0.1356)
OKLCHoklch(77.01% 0.179 130.6)
XYZxyz(32.8609, 48.1856, 12.4189)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CCA40 #7E40CA
analogous
#CAC340 #8CCA40 #47CA40
triadic
#8CCA40 #408CCA #CA408C
tetradic
#8CCA40 #40CAC3 #7E40CA #CA4047
square
#8CCA40 #40CAC3 #7E40CA #CA4047
split-complementary
#8CCA40 #4047CA #C340CA
monochromatic
#4C701F #6CA02C #8CCA40 #A9D770 #C6E5A0

Accessibility & contrast

On white

1.97
#8CCA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#8CCA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CCA40
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CCA40#FFFFFF#000000##000000
##8CCA401.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2B
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#8FC2AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #8cca40;
/* rgb */ color: rgb(140, 202, 64);
/* oklch */ color: oklch(77.0% 0.179 130.6);
Tailwind
colors: {
  custom: {
    50: '#b2da7c',
    500: '#8cca40',
    950: '#000000',
  },
}
SCSS
$custom: #8cca40;
$custom-light: #b2da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8cca40",
  "rgb": {
    "r": 140,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 86.957,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77008,
    "c": 0.17851,
    "h": 130.6
  },
  "luminance": 0.48187
}

Semantic roles & 50–950 ramp

primary
#8CCA40
secondary
#B095D1
accent
#48E08C
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #8CCA40

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

Preview Lab → · Contrast checker → · Palette generator →

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