#8ECF52#8ECF52

#8ECF52 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.5% C 0.171 H 132.3°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#8ECF52
RGBrgb(142, 207, 82)
HSLhsl(91, 57%, 57%)
HSVhsv(91, 60%, 81%)
CMYKcmyk(31.4%, 0%, 60.4%, 18.8%)
CIE-LABlab(76.67, -41.09, 54.28)
CIE-LCHlch(76.67, 68.08, 127.12°)
OKLaboklab(78.49% -0.1148 0.1261)
OKLCHoklch(78.49% 0.171 132.3)
XYZxyz(34.9907, 50.9844, 15.9784)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ECF52 #9352CF
analogous
#CDCF52 #8ECF52 #52CF55
triadic
#8ECF52 #528ECF #CF528E
tetradic
#8ECF52 #52CDCF #9352CF #CF5552
square
#8ECF52 #52CDCF #9352CF #CF5552
split-complementary
#8ECF52 #5552CF #CF52CD
monochromatic
#518224 #6FB231 #8ECF52 #ADDC82 #CDEAB2

Accessibility & contrast

On white

1.88
#8ECF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#8ECF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ECF52
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ECF52#FFFFFF#000000##000000
##8ECF521.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#CEBB5B
Tritanopia (blue-blind)
#8FC7B4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #8ecf52;
/* rgb */ color: rgb(142, 207, 82);
/* oklch */ color: oklch(78.5% 0.171 132.3);
Tailwind
colors: {
  custom: {
    50: '#b3de87',
    500: '#8ecf52',
    950: '#000000',
  },
}
SCSS
$custom: #8ecf52;
$custom-light: #b3de87;
$custom-dark: #000000;
JSON
{
  "hex": "#8ecf52",
  "rgb": {
    "r": 142,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 91.2,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.7849,
    "c": 0.17056,
    "h": 132.3
  },
  "luminance": 0.50986
}

Semantic roles & 50–950 ramp

primary
#8ECF52
secondary
#643C8A
accent
#48E097
background
#FDFEFC
surface
#F8FCF3
border
#D1D5CD
text
#11150C
muted
#81847F

Preview Lab

Preview with #8ECF52

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

Preview Lab → · Contrast checker → · Palette generator →

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