#78AB2B#78AB2B

#78AB2B 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#78AB2B
RGBrgb(120, 171, 43)
HSLhsl(84, 60%, 42%)
HSVhsv(84, 75%, 67%)
CMYKcmyk(29.8%, 0%, 74.9%, 32.9%)
CIE-LABlab(64.40, -36.12, 56.59)
CIE-LCHlch(64.40, 67.13, 122.55°)
OKLaboklab(68.09% -0.1031 0.1261)
OKLCHoklch(68.09% 0.163 129.2)
XYZxyz(22.7446, 33.2927, 7.5128)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78AB2B #5E2BAB
analogous
#AB9E2B #78AB2B #38AB2B
triadic
#78AB2B #2B78AB #AB2B78
tetradic
#78AB2B #2BAB9E #5E2BAB #AB2B38
square
#78AB2B #2BAB9E #5E2BAB #AB2B38
split-complementary
#78AB2B #2B38AB #9E2BAB
monochromatic
#334912 #567A1F #78AB2B #98D043 #B3DC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78AB2B#FFFFFF#000000##000000
##78AB2B1.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)
#B39E10
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#7CA393
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #78ab2b;
/* rgb */ color: rgb(120, 171, 43);
/* oklch */ color: oklch(68.1% 0.163 129.2);
Tailwind
colors: {
  custom: {
    50: '#a3c46e',
    500: '#78ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #78ab2b;
$custom-light: #a3c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#78ab2b",
  "rgb": {
    "r": 120,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 83.906,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68088,
    "c": 0.16289,
    "h": 129.2
  },
  "luminance": 0.33293
}

Semantic roles & 50–950 ramp

primary
#78AB2B
secondary
#906EC4
accent
#45E384
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #78AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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