#8EC238#8EC238

#8EC238 is a light, vivid yellow-green. Relative luminance 0.446; OKLCH L 75.1% C 0.173 H 128.1°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#8EC238
RGBrgb(142, 194, 56)
HSLhsl(83, 55%, 49%)
HSVhsv(83, 71%, 76%)
CMYKcmyk(26.8%, 0%, 71.1%, 23.9%)
CIE-LABlab(72.64, -37.30, 60.50)
CIE-LCHlch(72.64, 71.08, 121.66°)
OKLaboklab(75.15% -0.1066 0.1359)
OKLCHoklch(75.15% 0.173 128.1)
XYZxyz(31.1609, 44.6192, 10.7112)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC238 #6C38C2
analogous
#C2B138 #8EC238 #49C238
triadic
#8EC238 #388EC2 #C2388E
tetradic
#8EC238 #38C2B1 #6C38C2 #C23849
square
#8EC238 #38C2B1 #6C38C2 #C23849
split-complementary
#8EC238 #3849C2 #B138C2
monochromatic
#48631D #6B932A #8EC238 #A9D265 #C4E094

Accessibility & contrast

On white

2.12
#8EC238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#8EC238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC238
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC238#FFFFFF#000000##000000
##8EC2381.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB420
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#93B9A7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #8ec238;
/* rgb */ color: rgb(142, 194, 56);
/* oklch */ color: oklch(75.1% 0.173 128.1);
Tailwind
colors: {
  custom: {
    50: '#b3d477',
    500: '#8ec238',
    950: '#000000',
  },
}
SCSS
$custom: #8ec238;
$custom-light: #b3d477;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec238",
  "rgb": {
    "r": 142,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 82.609,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7515,
    "c": 0.1727,
    "h": 128.1
  },
  "luminance": 0.4462
}

Semantic roles & 50–950 ramp

primary
#8EC238
secondary
#A38ACB
accent
#49DF82
background
#FBFDF7
surface
#F6FAEE
border
#D0D3C9
text
#111409
muted
#80837B

Preview Lab

Preview with #8EC238

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

Preview Lab → · Contrast checker → · Palette generator →

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