#8CD962#8CD962

#8CD962 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 80.9% C 0.172 H 135.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#8CD962
RGBrgb(140, 217, 98)
HSLhsl(99, 61%, 62%)
HSVhsv(99, 55%, 85%)
CMYKcmyk(35.5%, 0%, 54.8%, 14.9%)
CIE-LABlab(79.66, -44.53, 50.52)
CIE-LCHlch(79.66, 67.34, 131.40°)
OKLaboklab(80.95% -0.123 0.1195)
OKLCHoklch(80.95% 0.172 135.8)
XYZxyz(37.8317, 56.0813, 20.3843)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD962 #AF62D9
analogous
#C7D962 #8CD962 #62D974
triadic
#8CD962 #628CD9 #D9628C
tetradic
#8CD962 #62C7D9 #AF62D9 #D97462
square
#8CD962 #62C7D9 #AF62D9 #D97462
split-complementary
#8CD962 #7462D9 #D962C7
monochromatic
#4F9B26 #68CC31 #8CD962 #B0E593 #D4F1C5

Accessibility & contrast

On white

1.72
#8CD962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#8CD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD962
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD962#FFFFFF#000000##000000
##8CD9621.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA56
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#8AD2BF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #8cd962;
/* rgb */ color: rgb(140, 217, 98);
/* oklch */ color: oklch(80.9% 0.172 135.8);
Tailwind
colors: {
  custom: {
    50: '#b2e592',
    500: '#8cd962',
    950: '#000000',
  },
}
SCSS
$custom: #8cd962;
$custom-light: #b2e592;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd962",
  "rgb": {
    "r": 140,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 98.824,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80948,
    "c": 0.17152,
    "h": 135.8
  },
  "luminance": 0.56083
}

Semantic roles & 50–950 ramp

primary
#8CD962
secondary
#7E409F
accent
#1DC98C
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#11160D
muted
#81847F

Preview Lab

Preview with #8CD962

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

Preview Lab → · Contrast checker → · Palette generator →

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