#78BA2B#78BA2B

#78BA2B is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 71.8% C 0.181 H 131.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#78BA2B
RGBrgb(120, 186, 43)
HSLhsl(88, 62%, 45%)
HSVhsv(88, 77%, 73%)
CMYKcmyk(35.5%, 0%, 76.9%, 27.1%)
CIE-LABlab(68.96, -42.70, 60.96)
CIE-LCHlch(68.96, 74.43, 125.01°)
OKLaboklab(71.8% -0.1209 0.1353)
OKLCHoklch(71.8% 0.181 131.8)
XYZxyz(25.7404, 39.2843, 8.5114)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78BA2B #6D2BBA
analogous
#BAB42B #78BA2B #31BA2B
triadic
#78BA2B #2B78BA #BA2B78
tetradic
#78BA2B #2BBAB4 #6D2BBA #BA2B31
square
#78BA2B #2BBAB4 #6D2BBA #BA2B31
split-complementary
#78BA2B #2B31BA #B42BBA
monochromatic
#385714 #588820 #78BA2B #96D64C #B4E17E

Accessibility & contrast

On white

2.37
#78BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#78BA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78BA2B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78BA2B#FFFFFF#000000##000000
##78BA2B1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC03
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#7AB29F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #78ba2b;
/* rgb */ color: rgb(120, 186, 43);
/* oklch */ color: oklch(71.8% 0.181 131.8);
Tailwind
colors: {
  custom: {
    50: '#a4cf70',
    500: '#78ba2b',
    950: '#000000',
  },
}
SCSS
$custom: #78ba2b;
$custom-light: #a4cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#78ba2b",
  "rgb": {
    "r": 120,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 87.692,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71805,
    "c": 0.18145,
    "h": 131.8
  },
  "luminance": 0.39285
}

Semantic roles & 50–950 ramp

primary
#78BA2B
secondary
#9D77CA
accent
#42E68E
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #78BA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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