#78B940#78B940

#78B940 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 71.7% C 0.167 H 133.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#78B940
RGBrgb(120, 185, 64)
HSLhsl(92, 49%, 49%)
HSVhsv(92, 65%, 73%)
CMYKcmyk(35.1%, 0%, 65.4%, 27.5%)
CIE-LABlab(68.79, -40.84, 53.00)
CIE-LCHlch(68.79, 66.91, 127.62°)
OKLaboklab(71.72% -0.1143 0.1216)
OKLCHoklch(71.72% 0.167 133.2)
XYZxyz(26.0197, 39.0601, 11.0179)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B940 #8140B9
analogous
#B5B940 #78B940 #40B945
triadic
#78B940 #4078B9 #B94078
tetradic
#78B940 #40B5B9 #8140B9 #B94540
square
#78B940 #40B5B9 #8140B9 #B94540
split-complementary
#78B940 #4540B9 #B940B5
monochromatic
#3D5E21 #5B8C30 #78B940 #97CC6B #B7DB98

Accessibility & contrast

On white

2.38
#78B940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#78B940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B940
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B940#FFFFFF#000000##000000
##78B9401.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#78B2A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #78b940;
/* rgb */ color: rgb(120, 185, 64);
/* oklch */ color: oklch(71.7% 0.167 133.2);
Tailwind
colors: {
  custom: {
    50: '#a3ce7a',
    500: '#78b940',
    950: '#000000',
  },
}
SCSS
$custom: #78b940;
$custom-light: #a3ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#78b940",
  "rgb": {
    "r": 120,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 92.231,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71718,
    "c": 0.16685,
    "h": 133.2
  },
  "luminance": 0.39061
}

Semantic roles & 50–950 ramp

primary
#78B940
secondary
#AD8EC7
accent
#50D899
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #78B940

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

Preview Lab → · Contrast checker → · Palette generator →

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