#8EC04B#8EC04B

#8EC04B is a light, vivid yellow-green. Relative luminance 0.440; OKLCH L 74.8% C 0.156 H 129.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#8EC04B
RGBrgb(142, 192, 75)
HSLhsl(86, 48%, 52%)
HSVhsv(86, 61%, 75%)
CMYKcmyk(26%, 0%, 60.9%, 24.7%)
CIE-LABlab(72.20, -34.98, 52.36)
CIE-LCHlch(72.20, 62.97, 123.75°)
OKLaboklab(74.84% -0.0986 0.1212)
OKLCHoklch(74.84% 0.156 129.1)
XYZxyz(31.2748, 43.9573, 13.4921)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8EC04B #7D4BC0
analogous
#C0B74B #8EC04B #54C04B
triadic
#8EC04B #4B8EC0 #C04B8E
tetradic
#8EC04B #4BC0B7 #7D4BC0 #C04B54
square
#8EC04B #4BC0B7 #7D4BC0 #C04B54
split-complementary
#8EC04B #4B54C0 #B74BC0
monochromatic
#4D6B25 #6E9835 #8EC04B #AAD078 #C7E0A6

Accessibility & contrast

On white

2.14
#8EC04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#8EC04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8EC04B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8EC04B#FFFFFF#000000##000000
##8EC04B1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33E
Deuteranopia (green-blind)
#C2B054
Tritanopia (blue-blind)
#92B8A7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #8ec04b;
/* rgb */ color: rgb(142, 192, 75);
/* oklch */ color: oklch(74.8% 0.156 129.1);
Tailwind
colors: {
  custom: {
    50: '#b2d382',
    500: '#8ec04b',
    950: '#000000',
  },
}
SCSS
$custom: #8ec04b;
$custom-light: #b2d382;
$custom-dark: #000000;
JSON
{
  "hex": "#8ec04b",
  "rgb": {
    "r": 142,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 85.641,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7484,
    "c": 0.15628,
    "h": 129.1
  },
  "luminance": 0.43958
}

Semantic roles & 50–950 ramp

primary
#8EC04B
secondary
#B09ACD
accent
#50D88A
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#11140B
muted
#80827C

Preview Lab

Preview with #8EC04B

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

Preview Lab → · Contrast checker → · Palette generator →

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