#8EC74B#8EC74B

#8EC74B is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.5% C 0.166 H 130.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#8EC74B
RGBrgb(142, 199, 75)
HSLhsl(88, 53%, 54%)
HSVhsv(88, 62%, 78%)
CMYKcmyk(28.6%, 0%, 62.3%, 22%)
CIE-LABlab(74.26, -38.15, 54.63)
CIE-LCHlch(74.26, 66.63, 124.93°)
OKLaboklab(76.51% -0.1073 0.1261)
OKLCHoklch(76.51% 0.166 130.4)
XYZxyz(32.8485, 47.1047, 14.0167)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC74B #844BC7
analogous
#C7C24B #8EC74B #50C74B
triadic
#8EC74B #4B8EC7 #C74B8E
tetradic
#8EC74B #4BC7C2 #844BC7 #C74B50
square
#8EC74B #4BC7C2 #844BC7 #C74B50
split-complementary
#8EC74B #4B50C7 #C24BC7
monochromatic
#4F7424 #6FA232 #8EC74B #ABD67A #C9E4A8

Accessibility & contrast

On white

2.02
#8EC74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#8EC74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC74B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC74B#FFFFFF#000000##000000
##8EC74B1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B93C
Deuteranopia (green-blind)
#C8B554
Tritanopia (blue-blind)
#91BFAD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #8ec74b;
/* rgb */ color: rgb(142, 199, 75);
/* oklch */ color: oklch(76.5% 0.166 130.4);
Tailwind
colors: {
  custom: {
    50: '#b2d882',
    500: '#8ec74b',
    950: '#000000',
  },
}
SCSS
$custom: #8ec74b;
$custom-light: #b2d882;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec74b",
  "rgb": {
    "r": 142,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 87.581,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76509,
    "c": 0.16557,
    "h": 130.4
  },
  "luminance": 0.47106
}

Semantic roles & 50–950 ramp

primary
#8EC74B
secondary
#B59CD1
accent
#4CDC8E
background
#FBFDF8
surface
#F6FAEF
border
#D0D3CA
text
#11140B
muted
#80837C

Preview Lab

Preview with #8EC74B

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

Preview Lab → · Contrast checker → · Palette generator →

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