#78A822#78A822

#78A822 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.3% C 0.164 H 128.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#78A822
RGBrgb(120, 168, 34)
HSLhsl(81, 66%, 40%)
HSVhsv(81, 80%, 66%)
CMYKcmyk(28.6%, 0%, 79.8%, 34.1%)
CIE-LABlab(63.44, -35.23, 58.59)
CIE-LCHlch(63.44, 68.37, 121.02°)
OKLaboklab(67.29% -0.1013 0.1289)
OKLCHoklch(67.29% 0.164 128.2)
XYZxyz(22.0371, 32.1133, 6.5505)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A822 #5222A8
analogous
#A89522 #78A822 #35A822
triadic
#78A822 #2278A8 #A82278
tetradic
#78A822 #22A895 #5222A8 #A82235
square
#78A822 #22A895 #5222A8 #A82235
split-complementary
#78A822 #2235A8 #9522A8
monochromatic
#2F420D #547518 #78A822 #9BD532 #B4E065

Accessibility & contrast

On white

2.83
#78A822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#78A822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A822
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A822#FFFFFF#000000##000000
##78A8221.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AA9930
Tritanopia (blue-blind)
#7CA08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #78a822;
/* rgb */ color: rgb(120, 168, 34);
/* oklch */ color: oklch(67.3% 0.164 128.2);
Tailwind
colors: {
  custom: {
    50: '#a3c269',
    500: '#78a822',
    950: '#000000',
  },
}
SCSS
$custom: #78a822;
$custom-light: #a3c269;
$custom-dark: #000000;
JSON
{
  "hex": "#78a822",
  "rgb": {
    "r": 120,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 81.493,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67291,
    "c": 0.16396,
    "h": 128.2
  },
  "luminance": 0.32114
}

Semantic roles & 50–950 ramp

primary
#78A822
secondary
#8561C5
accent
#3FE97C
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #78A822

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

Preview Lab → · Contrast checker → · Palette generator →

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