#8AC940#8AC940

#8AC940 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 76.6% C 0.178 H 130.9°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#8AC940
RGBrgb(138, 201, 64)
HSLhsl(88, 56%, 52%)
HSVhsv(88, 68%, 79%)
CMYKcmyk(31.3%, 0%, 68.2%, 21.2%)
CIE-LABlab(74.54, -41.35, 59.35)
CIE-LCHlch(74.54, 72.34, 124.87°)
OKLaboklab(76.65% -0.1168 0.1347)
OKLCHoklch(76.65% 0.178 130.9)
XYZxyz(32.2930, 47.5457, 12.3253)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AC940 #7F40C9
analogous
#C9C340 #8AC940 #46C940
triadic
#8AC940 #408AC9 #C9408A
tetradic
#8AC940 #40C9C3 #7F40C9 #C94046
square
#8AC940 #40C9C3 #7F40C9 #C94046
split-complementary
#8AC940 #4046C9 #C340C9
monochromatic
#4B6F1F #6A9F2D #8AC940 #A7D670 #C4E49F

Accessibility & contrast

On white

2.00
#8AC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#8AC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AC940
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AC940#FFFFFF#000000##000000
##8AC9401.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2C
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#8DC1AE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #8ac940;
/* rgb */ color: rgb(138, 201, 64);
/* oklch */ color: oklch(76.6% 0.178 130.9);
Tailwind
colors: {
  custom: {
    50: '#b0da7c',
    500: '#8ac940',
    950: '#000000',
  },
}
SCSS
$custom: #8ac940;
$custom-light: #b0da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ac940",
  "rgb": {
    "r": 138,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 87.591,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7665,
    "c": 0.17825,
    "h": 130.9
  },
  "luminance": 0.47547
}

Semantic roles & 50–950 ramp

primary
#8AC940
secondary
#B094D0
accent
#49DF8E
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11150A
muted
#80837C

Preview Lab

Preview with #8AC940

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

Preview Lab → · Contrast checker → · Palette generator →

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