#78A522#78A522

#78A522 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.5% C 0.160 H 127.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#78A522
RGBrgb(120, 165, 34)
HSLhsl(81, 66%, 39%)
HSVhsv(81, 79%, 65%)
CMYKcmyk(27.3%, 0%, 79.4%, 35.3%)
CIE-LABlab(62.52, -33.86, 57.75)
CIE-LCHlch(62.52, 66.95, 120.38°)
OKLaboklab(66.55% -0.0976 0.1272)
OKLCHoklch(66.55% 0.16 127.5)
XYZxyz(21.4897, 31.0184, 6.3680)
Luminance0.3102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A522 #4F22A5
analogous
#A59122 #78A522 #36A522
triadic
#78A522 #2278A5 #A52278
tetradic
#78A522 #22A591 #4F22A5 #A52236
square
#78A522 #22A591 #4F22A5 #A52236
split-complementary
#78A522 #2236A5 #9122A5
monochromatic
#2E400D #537218 #78A522 #9CD430 #B4DF63

Accessibility & contrast

On white

2.92
#78A522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#78A522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A522
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A522#FFFFFF#000000##000000
##78A5221.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A89630
Tritanopia (blue-blind)
#7D9D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #78a522;
/* rgb */ color: rgb(120, 165, 34);
/* oklch */ color: oklch(66.5% 0.160 127.5);
Tailwind
colors: {
  custom: {
    50: '#a3c069',
    500: '#78a522',
    950: '#000000',
  },
}
SCSS
$custom: #78a522;
$custom-light: #a3c069;
$custom-dark: #000000;
JSON
{
  "hex": "#78a522",
  "rgb": {
    "r": 120,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 80.611,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66549,
    "c": 0.16028,
    "h": 127.5
  },
  "luminance": 0.31019
}

Semantic roles & 50–950 ramp

primary
#78A522
secondary
#825FC4
accent
#3FE979
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #78A522

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

Preview Lab → · Contrast checker → · Palette generator →

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