#78D520#78D520

#78D520 is a light, highly saturated yellow-green. Relative luminance 0.517; OKLCH L 78.5% C 0.218 H 134.4°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#78D520
RGBrgb(120, 213, 32)
HSLhsl(91, 74%, 48%)
HSVhsv(91, 85%, 84%)
CMYKcmyk(43.7%, 0%, 85%, 16.5%)
CIE-LABlab(77.09, -54.15, 71.28)
CIE-LCHlch(77.09, 89.51, 127.22°)
OKLaboklab(78.45% -0.1523 0.1555)
OKLCHoklch(78.45% 0.218 134.4)
XYZxyz(31.8001, 51.6840, 9.6666)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78D520 #7D20D5
analogous
#D2D520 #78D520 #20D523
triadic
#78D520 #2078D5 #D52078
tetradic
#78D520 #20D2D5 #7D20D5 #D52320
square
#78D520 #20D2D5 #7D20D5 #D52320
split-complementary
#78D520 #2320D5 #D520D2
monochromatic
#3C6B10 #5AA018 #78D520 #97E44E #B6EC83

Accessibility & contrast

On white

1.85
#78D520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#78D520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78D520
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78D520#FFFFFF#000000##000000
##78D5201.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#D1BC39
Tritanopia (blue-blind)
#76CCB6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #78d520;
/* rgb */ color: rgb(120, 213, 32);
/* oklch */ color: oklch(78.5% 0.218 134.4);
Tailwind
colors: {
  custom: {
    50: '#a7e26f',
    500: '#78d520',
    950: '#000000',
  },
}
SCSS
$custom: #78d520;
$custom-light: #a7e26f;
$custom-dark: #000000;
JSON
{
  "hex": "#78d520",
  "rgb": {
    "r": 120,
    "g": 213,
    "b": 32
  },
  "hsl": {
    "h": 90.829,
    "s": 73.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78452,
    "c": 0.21762,
    "h": 134.4
  },
  "luminance": 0.51686
}

Semantic roles & 50–950 ramp

primary
#78D520
secondary
#4E2574
accent
#37F196
background
#FDFEFB
surface
#F7FCF1
border
#D0D5CB
text
#101508
muted
#81847D

Preview Lab

Preview with #78D520

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

Preview Lab → · Contrast checker → · Palette generator →

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