#8ACC40#8ACC40

#8ACC40 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.4% C 0.182 H 131.4°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#8ACC40
RGBrgb(138, 204, 64)
HSLhsl(88, 58%, 53%)
HSVhsv(88, 69%, 80%)
CMYKcmyk(32.4%, 0%, 68.6%, 20%)
CIE-LABlab(75.43, -42.66, 60.27)
CIE-LCHlch(75.43, 73.84, 125.29°)
OKLaboklab(77.37% -0.1203 0.1366)
OKLCHoklch(77.37% 0.182 131.4)
XYZxyz(32.9992, 48.9580, 12.5607)
Luminance0.4896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ACC40 #8240CC
analogous
#CCC840 #8ACC40 #44CC40
triadic
#8ACC40 #408ACC #CC408A
tetradic
#8ACC40 #40CCC8 #8240CC #CC4044
square
#8ACC40 #40CCC8 #8240CC #CC4044
split-complementary
#8ACC40 #4044CC #C840CC
monochromatic
#4B731F #6BA32C #8ACC40 #A8D970 #C5E6A1

Accessibility & contrast

On white

1.95
#8ACC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#8ACC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ACC40
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ACC40#FFFFFF#000000##000000
##8ACC401.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#8CC4B0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #8acc40;
/* rgb */ color: rgb(138, 204, 64);
/* oklch */ color: oklch(77.4% 0.182 131.4);
Tailwind
colors: {
  custom: {
    50: '#b1dc7c',
    500: '#8acc40',
    950: '#000000',
  },
}
SCSS
$custom: #8acc40;
$custom-light: #b1dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8acc40",
  "rgb": {
    "r": 138,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 88.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77373,
    "c": 0.18204,
    "h": 131.4
  },
  "luminance": 0.48959
}

Semantic roles & 50–950 ramp

primary
#8ACC40
secondary
#B295D2
accent
#47E18F
background
#FBFDF7
surface
#F6FBEE
border
#D0D4C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #8ACC40

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

Preview Lab → · Contrast checker → · Palette generator →

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