#78AC2C#78AC2C

#78AC2C is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.3% C 0.164 H 129.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#78AC2C
RGBrgb(120, 172, 44)
HSLhsl(84, 59%, 42%)
HSVhsv(84, 74%, 67%)
CMYKcmyk(30.2%, 0%, 74.4%, 32.5%)
CIE-LABlab(64.71, -36.51, 56.54)
CIE-LCHlch(64.71, 67.30, 122.85°)
OKLaboklab(68.34% -0.104 0.1262)
OKLCHoklch(68.34% 0.164 129.5)
XYZxyz(22.9528, 33.6793, 7.6738)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78AC2C #602CAC
analogous
#ACA02C #78AC2C #38AC2C
triadic
#78AC2C #2C78AC #AC2C78
tetradic
#78AC2C #2CACA0 #602CAC #AC2C38
square
#78AC2C #2CACA0 #602CAC #AC2C38
split-complementary
#78AC2C #2C38AC #A02CAC
monochromatic
#344B13 #567B20 #78AC2C #98D046 #B3DC76

Accessibility & contrast

On white

2.71
#78AC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#78AC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78AC2C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78AC2C#FFFFFF#000000##000000
##78AC2C1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F12
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#7BA493
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #78ac2c;
/* rgb */ color: rgb(120, 172, 44);
/* oklch */ color: oklch(68.3% 0.164 129.5);
Tailwind
colors: {
  custom: {
    50: '#a3c56e',
    500: '#78ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #78ac2c;
$custom-light: #a3c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#78ac2c",
  "rgb": {
    "r": 120,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 84.375,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68342,
    "c": 0.16356,
    "h": 129.5
  },
  "luminance": 0.3368
}

Semantic roles & 50–950 ramp

primary
#78AC2C
secondary
#9270C4
accent
#45E285
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #78AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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