#8CCF40#8CCF40

#8CCF40 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.2% C 0.185 H 131.3°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#8CCF40
RGBrgb(140, 207, 64)
HSLhsl(88, 60%, 53%)
HSVhsv(88, 69%, 81%)
CMYKcmyk(32.4%, 0%, 69.1%, 18.8%)
CIE-LABlab(76.42, -43.23, 61.33)
CIE-LCHlch(76.42, 75.03, 125.18°)
OKLaboklab(78.21% -0.122 0.1388)
OKLCHoklch(78.21% 0.185 131.3)
XYZxyz(34.0531, 50.5701, 12.8163)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CCF40 #8340CF
analogous
#CFCB40 #8CCF40 #44CF40
triadic
#8CCF40 #408CCF #CF408C
tetradic
#8CCF40 #40CFCB #8340CF #CF4044
square
#8CCF40 #40CFCB #8340CF #CF4044
split-complementary
#8CCF40 #4044CF #CB40CF
monochromatic
#4D771E #6DA82A #8CCF40 #A9DB71 #C7E8A2

Accessibility & contrast

On white

1.89
#8CCF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#8CCF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CCF40
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CCF40#FFFFFF#000000##000000
##8CCF401.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#8EC6B3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #8ccf40;
/* rgb */ color: rgb(140, 207, 64);
/* oklch */ color: oklch(78.2% 0.185 131.3);
Tailwind
colors: {
  custom: {
    50: '#b2de7d',
    500: '#8ccf40',
    950: '#000000',
  },
}
SCSS
$custom: #8ccf40;
$custom-light: #b2de7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8ccf40",
  "rgb": {
    "r": 140,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 88.112,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7821,
    "c": 0.18479,
    "h": 131.3
  },
  "luminance": 0.50571
}

Semantic roles & 50–950 ramp

primary
#8CCF40
secondary
#57347F
accent
#45E38F
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150A
muted
#81847D

Preview Lab

Preview with #8CCF40

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

Preview Lab → · Contrast checker → · Palette generator →

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