#78A628#78A628

#78A628 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.8% C 0.158 H 128.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#78A628
RGBrgb(120, 166, 40)
HSLhsl(82, 61%, 40%)
HSVhsv(82, 76%, 65%)
CMYKcmyk(27.7%, 0%, 75.9%, 34.9%)
CIE-LABlab(62.86, -34.01, 56.13)
CIE-LCHlch(62.86, 65.63, 121.21°)
OKLaboklab(66.83% -0.0976 0.1247)
OKLCHoklch(66.83% 0.158 128)
XYZxyz(21.7650, 31.4182, 6.9247)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A628 #5628A6
analogous
#A69528 #78A628 #39A628
triadic
#78A628 #2878A6 #A62878
tetradic
#78A628 #28A695 #5628A6 #A62839
square
#78A628 #28A695 #5628A6 #A62839
split-complementary
#78A628 #2839A6 #9528A6
monochromatic
#314310 #54751C #78A628 #9AD03B #B3DC6D

Accessibility & contrast

On white

2.88
#78A628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#78A628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A628
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A628#FFFFFF#000000##000000
##78A6281.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0B
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#7C9E8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #78a628;
/* rgb */ color: rgb(120, 166, 40);
/* oklch */ color: oklch(66.8% 0.158 128.0);
Tailwind
colors: {
  custom: {
    50: '#a3c06c',
    500: '#78a628',
    950: '#000000',
  },
}
SCSS
$custom: #78a628;
$custom-light: #a3c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#78a628",
  "rgb": {
    "r": 120,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 81.905,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66832,
    "c": 0.15834,
    "h": 128
  },
  "luminance": 0.31419
}

Semantic roles & 50–950 ramp

primary
#78A628
secondary
#8967C2
accent
#44E47E
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #78A628

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

Preview Lab → · Contrast checker → · Palette generator →

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