#78B240#78B240

#78B240 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.0% C 0.158 H 132.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#78B240
RGBrgb(120, 178, 64)
HSLhsl(91, 47%, 47%)
HSVhsv(91, 64%, 70%)
CMYKcmyk(32.6%, 0%, 64%, 30.2%)
CIE-LABlab(66.67, -37.75, 50.71)
CIE-LCHlch(66.67, 63.22, 126.67°)
OKLaboklab(69.99% -0.1058 0.1167)
OKLCHoklch(69.99% 0.158 132.2)
XYZxyz(24.5912, 36.2031, 10.5417)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B240 #7A40B2
analogous
#B1B240 #78B240 #40B241
triadic
#78B240 #4078B2 #B24078
tetradic
#78B240 #40B1B2 #7A40B2 #B24140
square
#78B240 #40B1B2 #7A40B2 #B24140
split-complementary
#78B240 #4140B2 #B240B1
monochromatic
#3B5820 #5A8530 #78B240 #97C867 #B6D894

Accessibility & contrast

On white

2.55
#78B240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#78B240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B240
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B240#FFFFFF#000000##000000
##78B2401.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B1A149
Tritanopia (blue-blind)
#79AB9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #78b240;
/* rgb */ color: rgb(120, 178, 64);
/* oklch */ color: oklch(70.0% 0.158 132.2);
Tailwind
colors: {
  custom: {
    50: '#a3c97a',
    500: '#78b240',
    950: '#000000',
  },
}
SCSS
$custom: #78b240;
$custom-light: #a3c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#78b240",
  "rgb": {
    "r": 120,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 90.526,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69991,
    "c": 0.15756,
    "h": 132.2
  },
  "luminance": 0.36204
}

Semantic roles & 50–950 ramp

primary
#78B240
secondary
#A78AC4
accent
#51D795
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F1309
muted
#7F827B

Preview Lab

Preview with #78B240

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

Preview Lab → · Contrast checker → · Palette generator →

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