#78AC2B#78AC2B

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

Color values

HEX#78AC2B
RGBrgb(120, 172, 43)
HSLhsl(84, 60%, 42%)
HSVhsv(84, 75%, 67%)
CMYKcmyk(30.2%, 0%, 75%, 32.5%)
CIE-LABlab(64.70, -36.57, 56.88)
CIE-LCHlch(64.70, 67.62, 122.74°)
OKLaboklab(68.34% -0.1043 0.1268)
OKLCHoklch(68.34% 0.164 129.4)
XYZxyz(22.9342, 33.6719, 7.5760)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78AC2B #5F2BAC
analogous
#ACA02B #78AC2B #38AC2B
triadic
#78AC2B #2B78AC #AC2B78
tetradic
#78AC2B #2BACA0 #5F2BAC #AC2B38
square
#78AC2B #2BACA0 #5F2BAC #AC2B38
split-complementary
#78AC2B #2B38AC #A02BAC
monochromatic
#344A13 #567B1F #78AC2B #98D044 #B3DC75

Accessibility & contrast

On white

2.72
#78AC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#78AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78AC2B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78AC2B#FFFFFF#000000##000000
##78AC2B1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78ac2b;
/* rgb */ color: rgb(120, 172, 43);
/* oklch */ color: oklch(68.3% 0.164 129.4);
Tailwind
colors: {
  custom: {
    50: '#a3c56e',
    500: '#78ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #78ac2b;
$custom-light: #a3c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#78ac2b",
  "rgb": {
    "r": 120,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 84.186,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68336,
    "c": 0.16414,
    "h": 129.4
  },
  "luminance": 0.33673
}

Semantic roles & 50–950 ramp

primary
#78AC2B
secondary
#916FC4
accent
#45E385
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #78AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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