#8AD940#8AD940

#8AD940 is a light, vivid yellow-green. Relative luminance 0.554; OKLCH L 80.5% C 0.198 H 133.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#8AD940
RGBrgb(138, 217, 64)
HSLhsl(91, 67%, 55%)
HSVhsv(91, 71%, 85%)
CMYKcmyk(36.4%, 0%, 70.5%, 14.9%)
CIE-LABlab(79.27, -48.15, 64.20)
CIE-LCHlch(79.27, 80.25, 126.87°)
OKLaboklab(80.51% -0.1353 0.1448)
OKLCHoklch(80.51% 0.198 133)
XYZxyz(36.2190, 55.3976, 13.6339)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AD940 #8F40D9
analogous
#D7D940 #8AD940 #40D942
triadic
#8AD940 #408AD9 #D9408A
tetradic
#8AD940 #40D7D9 #8F40D9 #D94240
square
#8AD940 #40D7D9 #8F40D9 #D94240
split-complementary
#8AD940 #4240D9 #D940D7
monochromatic
#4E841A #6CB724 #8AD940 #A9E373 #C9EDA6

Accessibility & contrast

On white

1.74
#8AD940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#8AD940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AD940
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AD940#FFFFFF#000000##000000
##8AD9401.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C826
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#8BD0BB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #8ad940;
/* rgb */ color: rgb(138, 217, 64);
/* oklch */ color: oklch(80.5% 0.198 133.0);
Tailwind
colors: {
  custom: {
    50: '#b2e57e',
    500: '#8ad940',
    950: '#000000',
  },
}
SCSS
$custom: #8ad940;
$custom-light: #b2e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#8ad940",
  "rgb": {
    "r": 138,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 90.98,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80509,
    "c": 0.19818,
    "h": 133
  },
  "luminance": 0.55399
}

Semantic roles & 50–950 ramp

primary
#8AD940
secondary
#60328B
accent
#3EEA97
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11160A
muted
#81847D

Preview Lab

Preview with #8AD940

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

Preview Lab → · Contrast checker → · Palette generator →

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