#8AD942#8AD942

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

Color values

HEX#8AD942
RGBrgb(138, 217, 66)
HSLhsl(91, 67%, 55%)
HSVhsv(91, 70%, 85%)
CMYKcmyk(36.4%, 0%, 69.6%, 14.9%)
CIE-LABlab(79.28, -48.01, 63.48)
CIE-LCHlch(79.28, 79.59, 127.10°)
OKLaboklab(80.52% -0.1348 0.1436)
OKLCHoklch(80.52% 0.197 133.2)
XYZxyz(36.2769, 55.4207, 13.9391)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AD942 #9142D9
analogous
#D5D942 #8AD942 #42D945
triadic
#8AD942 #428AD9 #D9428A
tetradic
#8AD942 #42D5D9 #9142D9 #D94542
square
#8AD942 #42D5D9 #9142D9 #D94542
split-complementary
#8AD942 #4542D9 #D942D5
monochromatic
#4E861B #6BB925 #8AD942 #AAE375 #C9EDA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AD942#FFFFFF#000000##000000
##8AD9421.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)
#E2C82A
Deuteranopia (green-blind)
#D7C250
Tritanopia (blue-blind)
#8AD0BB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #8ad942;
/* rgb */ color: rgb(138, 217, 66);
/* oklch */ color: oklch(80.5% 0.197 133.2);
Tailwind
colors: {
  custom: {
    50: '#b2e57f',
    500: '#8ad942',
    950: '#000000',
  },
}
SCSS
$custom: #8ad942;
$custom-light: #b2e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#8ad942",
  "rgb": {
    "r": 138,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 91.391,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80524,
    "c": 0.19693,
    "h": 133.2
  },
  "luminance": 0.55422
}

Semantic roles & 50–950 ramp

primary
#8AD942
secondary
#62338C
accent
#3EE998
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11160B
muted
#81847E

Preview Lab

Preview with #8AD942

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

Preview Lab → · Contrast checker → · Palette generator →

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