#78D522#78D522

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

Color values

HEX#78D522
RGBrgb(120, 213, 34)
HSLhsl(91, 72%, 48%)
HSVhsv(91, 84%, 84%)
CMYKcmyk(43.7%, 0%, 84%, 16.5%)
CIE-LABlab(77.10, -54.07, 70.84)
CIE-LCHlch(77.10, 89.12, 127.35°)
OKLaboklab(78.46% -0.152 0.1548)
OKLCHoklch(78.46% 0.217 134.5)
XYZxyz(31.8281, 51.6952, 9.8141)
Luminance0.5170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78D522 #7F22D5
analogous
#D1D522 #78D522 #22D525
triadic
#78D522 #2278D5 #D52278
tetradic
#78D522 #22D1D5 #7F22D5 #D52522
square
#78D522 #22D1D5 #7F22D5 #D52522
split-complementary
#78D522 #2522D5 #D522D1
monochromatic
#3D6B11 #5AA01A #78D522 #97E351 #B7EC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78D522#FFFFFF#000000##000000
##78D5221.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)
#D1BC3A
Tritanopia (blue-blind)
#76CCB6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #78d522;
/* rgb */ color: rgb(120, 213, 34);
/* oklch */ color: oklch(78.5% 0.217 134.5);
Tailwind
colors: {
  custom: {
    50: '#a7e270',
    500: '#78d522',
    950: '#000000',
  },
}
SCSS
$custom: #78d522;
$custom-light: #a7e270;
$custom-dark: #000000;
JSON
{
  "hex": "#78d522",
  "rgb": {
    "r": 120,
    "g": 213,
    "b": 34
  },
  "hsl": {
    "h": 91.173,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78459,
    "c": 0.21696,
    "h": 134.5
  },
  "luminance": 0.51697
}

Semantic roles & 50–950 ramp

primary
#78D522
secondary
#4F2675
accent
#39EF97
background
#FDFEFB
surface
#F7FCF1
border
#D0D5CB
text
#101509
muted
#81847D

Preview Lab

Preview with #78D522

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

Preview Lab → · Contrast checker → · Palette generator →

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