#78B040#78B040

#78B040 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.5% C 0.155 H 131.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#78B040
RGBrgb(120, 176, 64)
HSLhsl(90, 47%, 47%)
HSVhsv(90, 64%, 69%)
CMYKcmyk(31.8%, 0%, 63.6%, 31%)
CIE-LABlab(66.07, -36.86, 50.05)
CIE-LCHlch(66.07, 62.15, 126.37°)
OKLaboklab(69.5% -0.1034 0.1154)
OKLCHoklch(69.5% 0.155 131.9)
XYZxyz(24.1962, 35.4131, 10.4101)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B040 #7840B0
analogous
#B0B040 #78B040 #40B040
triadic
#78B040 #4078B0 #B04078
tetradic
#78B040 #40B0B0 #7840B0 #B04040
square
#78B040 #40B0B0 #7840B0 #B04040
split-complementary
#78B040 #4040B0 #B040B0
monochromatic
#3B561F #598330 #78B040 #97C766 #B5D893

Accessibility & contrast

On white

2.60
#78B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#78B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B040
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B040#FFFFFF#000000##000000
##78B0401.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A332
Deuteranopia (green-blind)
#AF9F49
Tritanopia (blue-blind)
#7AA999
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #78b040;
/* rgb */ color: rgb(120, 176, 64);
/* oklch */ color: oklch(69.5% 0.155 131.9);
Tailwind
colors: {
  custom: {
    50: '#a3c87a',
    500: '#78b040',
    950: '#000000',
  },
}
SCSS
$custom: #78b040;
$custom-light: #a3c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#78b040",
  "rgb": {
    "r": 120,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 90,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69498,
    "c": 0.15488,
    "h": 131.9
  },
  "luminance": 0.35414
}

Semantic roles & 50–950 ramp

primary
#78B040
secondary
#A689C3
accent
#51D694
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F1309
muted
#7F827B

Preview Lab

Preview with #78B040

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

Preview Lab → · Contrast checker → · Palette generator →

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