#8CCB40#8CCB40

#8CCB40 is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.2% C 0.180 H 130.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#8CCB40
RGBrgb(140, 203, 64)
HSLhsl(87, 57%, 52%)
HSVhsv(87, 68%, 80%)
CMYKcmyk(31%, 0%, 68.5%, 20.4%)
CIE-LABlab(75.24, -41.50, 60.11)
CIE-LCHlch(75.24, 73.04, 124.62°)
OKLaboklab(77.25% -0.1173 0.1362)
OKLCHoklch(77.25% 0.18 130.7)
XYZxyz(33.0963, 48.6564, 12.4974)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CCB40 #7F40CB
analogous
#CBC440 #8CCB40 #47CB40
triadic
#8CCB40 #408CCB #CB408C
tetradic
#8CCB40 #40CBC4 #7F40CB #CB4047
square
#8CCB40 #40CBC4 #7F40CB #CB4047
split-complementary
#8CCB40 #4047CB #C440CB
monochromatic
#4C721F #6CA22C #8CCB40 #A9D870 #C6E5A0

Accessibility & contrast

On white

1.96
#8CCB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#8CCB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CCB40
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CCB40#FFFFFF#000000##000000
##8CCB401.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#CBB84C
Tritanopia (blue-blind)
#8FC3AF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #8ccb40;
/* rgb */ color: rgb(140, 203, 64);
/* oklch */ color: oklch(77.2% 0.180 130.7);
Tailwind
colors: {
  custom: {
    50: '#b2db7c',
    500: '#8ccb40',
    950: '#000000',
  },
}
SCSS
$custom: #8ccb40;
$custom-light: #b2db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ccb40",
  "rgb": {
    "r": 140,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 87.194,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77248,
    "c": 0.17977,
    "h": 130.7
  },
  "luminance": 0.48657
}

Semantic roles & 50–950 ramp

primary
#8CCB40
secondary
#B195D2
accent
#47E08D
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #8CCB40

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

Preview Lab → · Contrast checker → · Palette generator →

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