#8EC271#8EC271

#8EC271 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 75.8% C 0.123 H 135.1°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#8EC271
RGBrgb(142, 194, 113)
HSLhsl(99, 40%, 60%)
HSVhsv(99, 42%, 76%)
CMYKcmyk(26.8%, 0%, 41.8%, 23.9%)
CIE-LABlab(73.24, -31.71, 35.36)
CIE-LCHlch(73.24, 47.50, 131.88°)
OKLaboklab(75.83% -0.0869 0.0867)
OKLCHoklch(75.83% 0.123 135.1)
XYZxyz(33.4270, 45.5256, 22.6457)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC271 #A571C2
analogous
#B6C271 #8EC271 #71C27D
triadic
#8EC271 #718EC2 #C2718E
tetradic
#8EC271 #71B6C2 #A571C2 #C27D71
square
#8EC271 #71B6C2 #A571C2 #C27D71
split-complementary
#8EC271 #7D71C2 #C271B6
monochromatic
#528137 #6DAC4A #8EC271 #B0D49C #D2E7C7

Accessibility & contrast

On white

2.08
#8EC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#8EC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC271
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC271#FFFFFF#000000##000000
##8EC2711.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76B
Deuteranopia (green-blind)
#C0B276
Tritanopia (blue-blind)
#8EBCAE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #8ec271;
/* rgb */ color: rgb(142, 194, 113);
/* oklch */ color: oklch(75.8% 0.123 135.1);
Tailwind
colors: {
  custom: {
    50: '#b1d49b',
    500: '#8ec271',
    950: '#000000',
  },
}
SCSS
$custom: #8ec271;
$custom-light: #b1d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec271",
  "rgb": {
    "r": 142,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 98.519,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.75826,
    "c": 0.12275,
    "h": 135.1
  },
  "luminance": 0.45527
}

Semantic roles & 50–950 ramp

primary
#8EC271
secondary
#CCB8D7
accent
#33B385
background
#FBFDF9
surface
#F6FAF2
border
#D0D3CC
text
#11140E
muted
#80837E

Preview Lab

Preview with #8EC271

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

Preview Lab → · Contrast checker → · Palette generator →

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