#78B831#78B831

#78B831 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.3% C 0.176 H 131.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#78B831
RGBrgb(120, 184, 49)
HSLhsl(88, 58%, 46%)
HSVhsv(88, 73%, 72%)
CMYKcmyk(34.8%, 0%, 73.4%, 27.8%)
CIE-LABlab(68.38, -41.49, 58.38)
CIE-LCHlch(68.38, 71.63, 125.40°)
OKLaboklab(71.35% -0.1172 0.1308)
OKLCHoklch(71.35% 0.176 131.9)
XYZxyz(25.4403, 38.4948, 8.9950)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B831 #7131B8
analogous
#B8B431 #78B831 #35B831
triadic
#78B831 #3178B8 #B83178
tetradic
#78B831 #31B8B4 #7131B8 #B83135
square
#78B831 #31B8B4 #7131B8 #B83135
split-complementary
#78B831 #3135B8 #B431B8
monochromatic
#395717 #588824 #78B831 #96D255 #B4DE85

Accessibility & contrast

On white

2.41
#78B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#78B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B831
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B831#FFFFFF#000000##000000
##78B8311.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA17
Deuteranopia (green-blind)
#B7A53E
Tritanopia (blue-blind)
#7AB09E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #78b831;
/* rgb */ color: rgb(120, 184, 49);
/* oklch */ color: oklch(71.3% 0.176 131.9);
Tailwind
colors: {
  custom: {
    50: '#a4cd72',
    500: '#78b831',
    950: '#000000',
  },
}
SCSS
$custom: #78b831;
$custom-light: #a4cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#78b831",
  "rgb": {
    "r": 120,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 88.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71348,
    "c": 0.17564,
    "h": 131.9
  },
  "luminance": 0.38496
}

Semantic roles & 50–950 ramp

primary
#78B831
secondary
#A07DC8
accent
#47E190
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #78B831

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

Preview Lab → · Contrast checker → · Palette generator →

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