#8ECF48#8ECF48

#8ECF48 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.4% C 0.178 H 131.4°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#8ECF48
RGBrgb(142, 207, 72)
HSLhsl(89, 58%, 55%)
HSVhsv(89, 65%, 81%)
CMYKcmyk(31.4%, 0%, 65.2%, 18.8%)
CIE-LABlab(76.58, -41.93, 58.40)
CIE-LCHlch(76.58, 71.89, 125.68°)
OKLaboklab(78.39% -0.1179 0.1337)
OKLCHoklch(78.39% 0.178 131.4)
XYZxyz(34.6375, 50.8431, 14.1184)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ECF48 #8948CF
analogous
#CFCD48 #8ECF48 #4ACF48
triadic
#8ECF48 #488ECF #CF488E
tetradic
#8ECF48 #48CFCD #8948CF #CF484A
square
#8ECF48 #48CFCD #8948CF #CF484A
split-complementary
#8ECF48 #484ACF #CD48CF
monochromatic
#507C21 #6FAD2D #8ECF48 #ACDC78 #CAE8A9

Accessibility & contrast

On white

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

On black

11.17
#8ECF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ECF48
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ECF48#FFFFFF#000000##000000
##8ECF481.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C036
Deuteranopia (green-blind)
#CFBB53
Tritanopia (blue-blind)
#90C7B3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #8ecf48;
/* rgb */ color: rgb(142, 207, 72);
/* oklch */ color: oklch(78.4% 0.178 131.4);
Tailwind
colors: {
  custom: {
    50: '#b3de81',
    500: '#8ecf48',
    950: '#000000',
  },
}
SCSS
$custom: #8ecf48;
$custom-light: #b3de81;
$custom-dark: #000000;
JSON
{
  "hex": "#8ecf48",
  "rgb": {
    "r": 142,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 88.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78392,
    "c": 0.17825,
    "h": 131.4
  },
  "luminance": 0.50844
}

Semantic roles & 50–950 ramp

primary
#8ECF48
secondary
#5C3784
accent
#46E291
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150B
muted
#81847E

Preview Lab

Preview with #8ECF48

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

Preview Lab → · Contrast checker → · Palette generator →

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