#8ECF4F#8ECF4F

#8ECF4F is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.5% C 0.173 H 132.0°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#8ECF4F
RGBrgb(142, 207, 79)
HSLhsl(90, 57%, 56%)
HSVhsv(90, 62%, 81%)
CMYKcmyk(31.4%, 0%, 61.8%, 18.8%)
CIE-LABlab(76.64, -41.35, 55.55)
CIE-LCHlch(76.64, 69.25, 126.67°)
OKLaboklab(78.46% -0.1158 0.1285)
OKLCHoklch(78.46% 0.173 132)
XYZxyz(34.8790, 50.9397, 15.3903)
Luminance0.5094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ECF4F #904FCF
analogous
#CECF4F #8ECF4F #4FCF50
triadic
#8ECF4F #4F8ECF #CF4F8E
tetradic
#8ECF4F #4FCECF #904FCF #CF504F
square
#8ECF4F #4FCECF #904FCF #CF504F
split-complementary
#8ECF4F #504FCF #CF4FCE
monochromatic
#518123 #6FB130 #8ECF4F #ADDC7F #CCE9AF

Accessibility & contrast

On white

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

On black

11.19
#8ECF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ECF4F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ECF4F#FFFFFF#000000##000000
##8ECF4F1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C040
Deuteranopia (green-blind)
#CEBB59
Tritanopia (blue-blind)
#90C7B4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #8ecf4f;
/* rgb */ color: rgb(142, 207, 79);
/* oklch */ color: oklch(78.5% 0.173 132.0);
Tailwind
colors: {
  custom: {
    50: '#b3de85',
    500: '#8ecf4f',
    950: '#000000',
  },
}
SCSS
$custom: #8ecf4f;
$custom-light: #b3de85;
$custom-dark: #000000;
JSON
{
  "hex": "#8ecf4f",
  "rgb": {
    "r": 142,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 90.469,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78459,
    "c": 0.17296,
    "h": 132
  },
  "luminance": 0.50941
}

Semantic roles & 50–950 ramp

primary
#8ECF4F
secondary
#623A88
accent
#47E095
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#11150B
muted
#81847E

Preview Lab

Preview with #8ECF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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