#78AB2C#78AB2C

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

Color values

HEX#78AB2C
RGBrgb(120, 171, 44)
HSLhsl(84, 59%, 42%)
HSVhsv(84, 74%, 67%)
CMYKcmyk(29.8%, 0%, 74.3%, 32.9%)
CIE-LABlab(64.40, -36.06, 56.24)
CIE-LCHlch(64.40, 66.81, 122.67°)
OKLaboklab(68.1% -0.1028 0.1256)
OKLCHoklch(68.1% 0.162 129.3)
XYZxyz(22.7632, 33.3001, 7.6106)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78AB2C #5F2CAB
analogous
#AB9E2C #78AB2C #39AB2C
triadic
#78AB2C #2C78AB #AB2C78
tetradic
#78AB2C #2CAB9E #5F2CAB #AB2C39
square
#78AB2C #2CAB9E #5F2CAB #AB2C39
split-complementary
#78AB2C #2C39AB #9E2CAB
monochromatic
#344A13 #567A1F #78AB2C #98CF45 #B3DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78AB2C#FFFFFF#000000##000000
##78AB2C1.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)
#B39E12
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#7CA393
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #78ab2c;
/* rgb */ color: rgb(120, 171, 44);
/* oklch */ color: oklch(68.1% 0.162 129.3);
Tailwind
colors: {
  custom: {
    50: '#a3c46e',
    500: '#78ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #78ab2c;
$custom-light: #a3c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#78ab2c",
  "rgb": {
    "r": 120,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 84.094,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68095,
    "c": 0.1623,
    "h": 129.3
  },
  "luminance": 0.33301
}

Semantic roles & 50–950 ramp

primary
#78AB2C
secondary
#916FC3
accent
#46E284
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #78AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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