#78B931#78B931

#78B931 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 71.6% C 0.177 H 132.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#78B931
RGBrgb(120, 185, 49)
HSLhsl(89, 58%, 46%)
HSVhsv(89, 74%, 73%)
CMYKcmyk(35.1%, 0%, 73.5%, 27.5%)
CIE-LABlab(68.69, -41.92, 58.68)
CIE-LCHlch(68.69, 72.12, 125.54°)
OKLaboklab(71.6% -0.1184 0.1315)
OKLCHoklch(71.6% 0.177 132)
XYZxyz(25.6488, 38.9117, 9.0644)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B931 #7231B9
analogous
#B9B631 #78B931 #34B931
triadic
#78B931 #3178B9 #B93178
tetradic
#78B931 #31B9B6 #7231B9 #B93134
square
#78B931 #31B9B6 #7231B9 #B93134
split-complementary
#78B931 #3134B9 #B631B9
monochromatic
#395817 #598924 #78B931 #96D255 #B4DF86

Accessibility & contrast

On white

2.39
#78B931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#78B931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B931
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B931#FFFFFF#000000##000000
##78B9311.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#B8A63E
Tritanopia (blue-blind)
#7AB19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #78b931;
/* rgb */ color: rgb(120, 185, 49);
/* oklch */ color: oklch(71.6% 0.177 132.0);
Tailwind
colors: {
  custom: {
    50: '#a4ce72',
    500: '#78b931',
    950: '#000000',
  },
}
SCSS
$custom: #78b931;
$custom-light: #a4ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#78b931",
  "rgb": {
    "r": 120,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 88.676,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71596,
    "c": 0.17689,
    "h": 132
  },
  "luminance": 0.38913
}

Semantic roles & 50–950 ramp

primary
#78B931
secondary
#A17DC8
accent
#46E190
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #78B931

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

Preview Lab → · Contrast checker → · Palette generator →

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