#78CC40#78CC40

#78CC40 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 76.4% C 0.191 H 135.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#78CC40
RGBrgb(120, 204, 64)
HSLhsl(96, 58%, 53%)
HSVhsv(96, 69%, 80%)
CMYKcmyk(41.2%, 0%, 68.6%, 20%)
CIE-LABlab(74.54, -48.83, 59.07)
CIE-LCHlch(74.54, 76.64, 129.58°)
OKLaboklab(76.41% -0.136 0.1344)
OKLCHoklch(76.41% 0.191 135.3)
XYZxyz(30.2633, 47.5473, 12.4324)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78CC40 #9440CC
analogous
#BECC40 #78CC40 #40CC4E
triadic
#78CC40 #4078CC #CC4078
tetradic
#78CC40 #40BECC #9440CC #CC4E40
square
#78CC40 #40BECC #9440CC #CC4E40
split-complementary
#78CC40 #4E40CC #CC40BE
monochromatic
#40731F #5BA32C #78CC40 #9AD970 #BCE6A1

Accessibility & contrast

On white

2.00
#78CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#78CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78CC40
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78CC40#FFFFFF#000000##000000
##78CC401.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2B
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#76C4B0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #78cc40;
/* rgb */ color: rgb(120, 204, 64);
/* oklch */ color: oklch(76.4% 0.191 135.3);
Tailwind
colors: {
  custom: {
    50: '#a5dc7c',
    500: '#78cc40',
    950: '#000000',
  },
}
SCSS
$custom: #78cc40;
$custom-light: #a5dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#78cc40",
  "rgb": {
    "r": 120,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 96,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.76411,
    "c": 0.19118,
    "h": 135.3
  },
  "luminance": 0.47549
}

Semantic roles & 50–950 ramp

primary
#78CC40
secondary
#BA95D2
accent
#47E1A3
background
#FAFDF7
surface
#F4FBEE
border
#CED4C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #78CC40

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

Preview Lab → · Contrast checker → · Palette generator →

#78CC40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva