#78B128#78B128

#78B128 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.6% C 0.172 H 130.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#78B128
RGBrgb(120, 177, 40)
HSLhsl(85, 63%, 43%)
HSVhsv(85, 77%, 69%)
CMYKcmyk(32.2%, 0%, 77.4%, 30.6%)
CIE-LABlab(66.21, -38.96, 59.31)
CIE-LCHlch(66.21, 70.97, 123.30°)
OKLaboklab(69.56% -0.111 0.1314)
OKLCHoklch(69.56% 0.172 130.2)
XYZxyz(23.8507, 35.5898, 7.6199)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B128 #6128B1
analogous
#B1A628 #78B128 #33B128
triadic
#78B128 #2878B1 #B12878
tetradic
#78B128 #28B1A6 #6128B1 #B12833
square
#78B128 #28B1A6 #6128B1 #B12833
split-complementary
#78B128 #2833B1 #A628B1
monochromatic
#344D11 #567F1D #78B128 #97D442 #B3E074

Accessibility & contrast

On white

2.59
#78B128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#78B128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B128
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B128#FFFFFF#000000##000000
##78B1281.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A401
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#7BA997
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #78b128;
/* rgb */ color: rgb(120, 177, 40);
/* oklch */ color: oklch(69.6% 0.172 130.2);
Tailwind
colors: {
  custom: {
    50: '#a4c86d',
    500: '#78b128',
    950: '#000000',
  },
}
SCSS
$custom: #78b128;
$custom-light: #a4c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#78b128",
  "rgb": {
    "r": 120,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 84.964,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69555,
    "c": 0.17199,
    "h": 130.2
  },
  "luminance": 0.35591
}

Semantic roles & 50–950 ramp

primary
#78B128
secondary
#936EC7
accent
#42E686
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #78B128

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

Preview Lab → · Contrast checker → · Palette generator →

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