#78C040#78C040

#78C040 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 73.4% C 0.176 H 134.1°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#78C040
RGBrgb(120, 192, 64)
HSLhsl(94, 50%, 50%)
HSVhsv(94, 67%, 75%)
CMYKcmyk(37.5%, 0%, 66.7%, 24.7%)
CIE-LABlab(70.91, -43.84, 55.26)
CIE-LCHlch(70.91, 70.54, 128.43°)
OKLaboklab(73.45% -0.1224 0.1264)
OKLCHoklch(73.45% 0.176 134.1)
XYZxyz(27.5203, 42.0612, 11.5181)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78C040 #8840C0
analogous
#B8C040 #78C040 #40C048
triadic
#78C040 #4078C0 #C04078
tetradic
#78C040 #40B8C0 #8840C0 #C04840
square
#78C040 #40B8C0 #8840C0 #C04840
split-complementary
#78C040 #4840C0 #C040B8
monochromatic
#3F6421 #5B9230 #78C040 #99CF6E #B9DE9C

Accessibility & contrast

On white

2.23
#78C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#78C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78C040
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78C040#FFFFFF#000000##000000
##78C0401.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12E
Deuteranopia (green-blind)
#BDAB4B
Tritanopia (blue-blind)
#78B9A6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #78c040;
/* rgb */ color: rgb(120, 192, 64);
/* oklch */ color: oklch(73.4% 0.176 134.1);
Tailwind
colors: {
  custom: {
    50: '#a4d37b',
    500: '#78c040',
    950: '#000000',
  },
}
SCSS
$custom: #78c040;
$custom-light: #a4d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#78c040",
  "rgb": {
    "r": 120,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 93.75,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73446,
    "c": 0.17595,
    "h": 134.1
  },
  "luminance": 0.42063
}

Semantic roles & 50–950 ramp

primary
#78C040
secondary
#B191CB
accent
#4EDA9D
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #78C040

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

Preview Lab → · Contrast checker → · Palette generator →

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