#8ECB52#8ECB52

#8ECB52 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 77.5% C 0.165 H 131.7°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#8ECB52
RGBrgb(142, 203, 82)
HSLhsl(90, 54%, 56%)
HSVhsv(90, 60%, 80%)
CMYKcmyk(30%, 0%, 59.6%, 20.4%)
CIE-LABlab(75.50, -39.32, 52.96)
CIE-LCHlch(75.50, 65.97, 126.59°)
OKLaboklab(77.54% -0.11 0.1233)
OKLCHoklch(77.54% 0.165 131.7)
XYZxyz(34.0338, 49.0708, 15.6595)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ECB52 #8F52CB
analogous
#CACB52 #8ECB52 #52CB52
triadic
#8ECB52 #528ECB #CB528E
tetradic
#8ECB52 #52CACB #8F52CB #CB5252
square
#8ECB52 #52CACB #8F52CB #CB5252
split-complementary
#8ECB52 #5252CB #CB52CA
monochromatic
#517D26 #6FAC34 #8ECB52 #ADD981 #CBE7B0

Accessibility & contrast

On white

1.94
#8ECB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#8ECB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ECB52
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ECB52#FFFFFF#000000##000000
##8ECB521.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD45
Deuteranopia (green-blind)
#CBB85B
Tritanopia (blue-blind)
#90C3B1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #8ecb52;
/* rgb */ color: rgb(142, 203, 82);
/* oklch */ color: oklch(77.5% 0.165 131.7);
Tailwind
colors: {
  custom: {
    50: '#b2db87',
    500: '#8ecb52',
    950: '#000000',
  },
}
SCSS
$custom: #8ecb52;
$custom-light: #b2db87;
$custom-dark: #000000;
JSON
{
  "hex": "#8ecb52",
  "rgb": {
    "r": 142,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 90.248,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77535,
    "c": 0.16523,
    "h": 131.7
  },
  "luminance": 0.49072
}

Semantic roles & 50–950 ramp

primary
#8ECB52
secondary
#BDA3D5
accent
#4BDD95
background
#FBFDF8
surface
#F6FBF0
border
#D0D4CB
text
#11150C
muted
#80837D

Preview Lab

Preview with #8ECB52

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

Preview Lab → · Contrast checker → · Palette generator →

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