#78AB2A#78AB2A

#78AB2A is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.1% C 0.163 H 129.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#78AB2A
RGBrgb(120, 171, 42)
HSLhsl(84, 61%, 42%)
HSVhsv(84, 75%, 67%)
CMYKcmyk(29.8%, 0%, 75.4%, 32.9%)
CIE-LABlab(64.39, -36.18, 56.92)
CIE-LCHlch(64.39, 67.45, 122.44°)
OKLaboklab(68.08% -0.1033 0.1267)
OKLCHoklch(68.08% 0.163 129.2)
XYZxyz(22.7265, 33.2854, 7.4174)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78AB2A #5D2AAB
analogous
#AB9E2A #78AB2A #38AB2A
triadic
#78AB2A #2A78AB #AB2A78
tetradic
#78AB2A #2AAB9E #5D2AAB #AB2A38
square
#78AB2A #2AAB9E #5D2AAB #AB2A38
split-complementary
#78AB2A #2A38AB #9E2AAB
monochromatic
#334912 #567A1E #78AB2A #98D142 #B3DD73

Accessibility & contrast

On white

2.74
#78AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#78AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78AB2A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78AB2A#FFFFFF#000000##000000
##78AB2A1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0D
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#7CA392
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #78ab2a;
/* rgb */ color: rgb(120, 171, 42);
/* oklch */ color: oklch(68.1% 0.163 129.2);
Tailwind
colors: {
  custom: {
    50: '#a3c46d',
    500: '#78ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #78ab2a;
$custom-light: #a3c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#78ab2a",
  "rgb": {
    "r": 120,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 83.721,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68082,
    "c": 0.16346,
    "h": 129.2
  },
  "luminance": 0.33286
}

Semantic roles & 50–950 ramp

primary
#78AB2A
secondary
#8F6DC4
accent
#44E483
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #78AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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