#8DC940#8DC940

#8DC940 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 76.8% C 0.177 H 130.2°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#8DC940
RGBrgb(141, 201, 64)
HSLhsl(86, 56%, 52%)
HSVhsv(86, 68%, 79%)
CMYKcmyk(29.9%, 0%, 68.2%, 21.2%)
CIE-LABlab(74.70, -40.26, 59.57)
CIE-LCHlch(74.70, 71.90, 124.05°)
OKLaboklab(76.83% -0.114 0.1351)
OKLCHoklch(76.83% 0.177 130.2)
XYZxyz(32.7963, 47.8052, 12.3489)
Luminance0.4781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DC940 #7C40C9
analogous
#C9C040 #8DC940 #49C940
triadic
#8DC940 #408DC9 #C9408D
tetradic
#8DC940 #40C9C0 #7C40C9 #C94049
square
#8DC940 #40C9C0 #7C40C9 #C94049
split-complementary
#8DC940 #4049C9 #C040C9
monochromatic
#4C6F1F #6D9F2D #8DC940 #A9D670 #C6E49F

Accessibility & contrast

On white

1.99
#8DC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#8DC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DC940
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DC940#FFFFFF#000000##000000
##8DC9401.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#CAB64C
Tritanopia (blue-blind)
#90C1AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #8dc940;
/* rgb */ color: rgb(141, 201, 64);
/* oklch */ color: oklch(76.8% 0.177 130.2);
Tailwind
colors: {
  custom: {
    50: '#b2d97c',
    500: '#8dc940',
    950: '#000000',
  },
}
SCSS
$custom: #8dc940;
$custom-light: #b2d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#8dc940",
  "rgb": {
    "r": 141,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 86.277,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76828,
    "c": 0.17674,
    "h": 130.2
  },
  "luminance": 0.47806
}

Semantic roles & 50–950 ramp

primary
#8DC940
secondary
#AF94D0
accent
#49DF8B
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8DC940

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

Preview Lab → · Contrast checker → · Palette generator →

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