#8CD158#8CD158

#8CD158 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 78.9% C 0.169 H 133.7°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#8CD158
RGBrgb(140, 209, 88)
HSLhsl(94, 57%, 58%)
HSVhsv(94, 58%, 82%)
CMYKcmyk(33%, 0%, 57.9%, 18%)
CIE-LABlab(77.21, -42.10, 52.21)
CIE-LCHlch(77.21, 67.07, 128.88°)
OKLaboklab(78.92% -0.117 0.1223)
OKLCHoklch(78.92% 0.169 133.7)
XYZxyz(35.3765, 51.8796, 17.3804)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CD158 #9D58D1
analogous
#C8D158 #8CD158 #58D160
triadic
#8CD158 #588CD1 #D1588C
tetradic
#8CD158 #58C8D1 #9D58D1 #D16058
square
#8CD158 #58C8D1 #9D58D1 #D16058
split-complementary
#8CD158 #6058D1 #D158C8
monochromatic
#508926 #6CB933 #8CD158 #ADDE88 #CEEBB8

Accessibility & contrast

On white

1.85
#8CD158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#8CD158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CD158
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CD158#FFFFFF#000000##000000
##8CD1581.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24B
Deuteranopia (green-blind)
#CFBD61
Tritanopia (blue-blind)
#8CC9B7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #8cd158;
/* rgb */ color: rgb(140, 209, 88);
/* oklch */ color: oklch(78.9% 0.169 133.7);
Tailwind
colors: {
  custom: {
    50: '#b1df8b',
    500: '#8cd158',
    950: '#000000',
  },
}
SCSS
$custom: #8cd158;
$custom-light: #b1df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cd158",
  "rgb": {
    "r": 140,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 94.215,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78919,
    "c": 0.16929,
    "h": 133.7
  },
  "luminance": 0.51881
}

Semantic roles & 50–950 ramp

primary
#8CD158
secondary
#6C3E8F
accent
#48E09F
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#11150C
muted
#81847F

Preview Lab

Preview with #8CD158

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

Preview Lab → · Contrast checker → · Palette generator →

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