#8DC942#8DC942

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

Color values

HEX#8DC942
RGBrgb(141, 201, 66)
HSLhsl(87, 56%, 52%)
HSVhsv(87, 67%, 79%)
CMYKcmyk(29.9%, 0%, 67.2%, 21.2%)
CIE-LABlab(74.72, -40.12, 58.81)
CIE-LCHlch(74.72, 71.19, 124.30°)
OKLaboklab(76.84% -0.1134 0.1338)
OKLCHoklch(76.84% 0.175 130.3)
XYZxyz(32.8543, 47.8284, 12.6540)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DC942 #7E42C9
analogous
#C9C242 #8DC942 #49C942
triadic
#8DC942 #428DC9 #C9428D
tetradic
#8DC942 #42C9C2 #7E42C9 #C94249
square
#8DC942 #42C9C2 #7E42C9 #C94249
split-complementary
#8DC942 #4249C9 #C242C9
monochromatic
#4D7020 #6DA02E #8DC942 #AAD772 #C6E4A1

Accessibility & contrast

On white

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

On black

10.57
#8DC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DC942
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DC942#FFFFFF#000000##000000
##8DC9421.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8dc942;
/* rgb */ color: rgb(141, 201, 66);
/* oklch */ color: oklch(76.8% 0.175 130.3);
Tailwind
colors: {
  custom: {
    50: '#b2d97d',
    500: '#8dc942',
    950: '#000000',
  },
}
SCSS
$custom: #8dc942;
$custom-light: #b2d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#8dc942",
  "rgb": {
    "r": 141,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 86.667,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76844,
    "c": 0.17537,
    "h": 130.3
  },
  "luminance": 0.47829
}

Semantic roles & 50–950 ramp

primary
#8DC942
secondary
#B096D1
accent
#49DF8C
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#11140A
muted
#80837C

Preview Lab

Preview with #8DC942

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

Preview Lab → · Contrast checker → · Palette generator →

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