#78C042#78C042

#78C042 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 73.5% C 0.175 H 134.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#78C042
RGBrgb(120, 192, 66)
HSLhsl(94, 50%, 51%)
HSVhsv(94, 66%, 75%)
CMYKcmyk(37.5%, 0%, 65.6%, 24.7%)
CIE-LABlab(70.93, -43.68, 54.46)
CIE-LCHlch(70.93, 69.81, 128.73°)
OKLaboklab(73.47% -0.1219 0.1249)
OKLCHoklch(73.47% 0.175 134.3)
XYZxyz(27.5782, 42.0844, 11.8232)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78C042 #8A42C0
analogous
#B7C042 #78C042 #42C04B
triadic
#78C042 #4278C0 #C04278
tetradic
#78C042 #42B7C0 #8A42C0 #C04B42
square
#78C042 #42B7C0 #8A42C0 #C04B42
split-complementary
#78C042 #4B42C0 #C042B7
monochromatic
#3F6622 #5B9431 #78C042 #99CF70 #BADF9E

Accessibility & contrast

On white

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

On black

9.42
#78C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78C042
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78C042#FFFFFF#000000##000000
##78C0421.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B131
Deuteranopia (green-blind)
#BDAB4C
Tritanopia (blue-blind)
#77B9A6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #78c042;
/* rgb */ color: rgb(120, 192, 66);
/* oklch */ color: oklch(73.5% 0.175 134.3);
Tailwind
colors: {
  custom: {
    50: '#a4d37c',
    500: '#78c042',
    950: '#000000',
  },
}
SCSS
$custom: #78c042;
$custom-light: #a4d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#78c042",
  "rgb": {
    "r": 120,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 94.286,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73465,
    "c": 0.17451,
    "h": 134.3
  },
  "luminance": 0.42086
}

Semantic roles & 50–950 ramp

primary
#78C042
secondary
#B393CB
accent
#4EDA9E
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #78C042

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

Preview Lab → · Contrast checker → · Palette generator →

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