#78C842#78C842

#78C842 is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 75.4% C 0.185 H 135.1°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#78C842
RGBrgb(120, 200, 66)
HSLhsl(96, 55%, 52%)
HSVhsv(96, 67%, 78%)
CMYKcmyk(40%, 0%, 67%, 21.6%)
CIE-LABlab(73.35, -47.03, 57.04)
CIE-LCHlch(73.35, 73.93, 129.51°)
OKLaboklab(75.44% -0.131 0.1303)
OKLCHoklch(75.44% 0.185 135.1)
XYZxyz(29.3827, 45.6934, 12.4247)
Luminance0.4570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78C842 #9242C8
analogous
#BBC842 #78C842 #42C84F
triadic
#78C842 #4278C8 #C84278
tetradic
#78C842 #42BBC8 #9242C8 #C84F42
square
#78C842 #42BBC8 #9242C8 #C84F42
split-complementary
#78C842 #4F42C8 #C842BB
monochromatic
#406F20 #5B9F2E #78C842 #9AD671 #BCE4A1

Accessibility & contrast

On white

2.07
#78C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#78C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78C842
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78C842#FFFFFF#000000##000000
##78C8421.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82F
Deuteranopia (green-blind)
#C4B24E
Tritanopia (blue-blind)
#76C1AD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #78c842;
/* rgb */ color: rgb(120, 200, 66);
/* oklch */ color: oklch(75.4% 0.185 135.1);
Tailwind
colors: {
  custom: {
    50: '#a5d97d',
    500: '#78c842',
    950: '#000000',
  },
}
SCSS
$custom: #78c842;
$custom-light: #a5d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#78c842",
  "rgb": {
    "r": 120,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 95.821,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7544,
    "c": 0.18478,
    "h": 135.1
  },
  "luminance": 0.45695
}

Semantic roles & 50–950 ramp

primary
#78C842
secondary
#B996D0
accent
#4ADEA2
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10150A
muted
#7F837C

Preview Lab

Preview with #78C842

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

Preview Lab → · Contrast checker → · Palette generator →

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