#78A040#78A040

#78A040 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.6% C 0.133 H 128.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#78A040
RGBrgb(120, 160, 64)
HSLhsl(85, 43%, 44%)
HSVhsv(85, 60%, 63%)
CMYKcmyk(25%, 0%, 60%, 37.3%)
CIE-LABlab(61.22, -29.44, 44.67)
CIE-LCHlch(61.22, 53.50, 123.38°)
OKLaboklab(65.57% -0.0829 0.1039)
OKLCHoklch(65.57% 0.133 128.6)
XYZxyz(21.2418, 29.5044, 9.4253)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A040 #6840A0
analogous
#A09840 #78A040 #48A040
triadic
#78A040 #4078A0 #A04078
tetradic
#78A040 #40A098 #6840A0 #A04048
square
#78A040 #40A098 #6840A0 #A04048
split-complementary
#78A040 #4048A0 #9840A0
monochromatic
#36491D #57742F #78A040 #97BF5E #B3D08A

Accessibility & contrast

On white

3.04
#78A040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#78A040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78A040
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A040#FFFFFF#000000##000000
##78A0401.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79636
Deuteranopia (green-blind)
#A29347
Tritanopia (blue-blind)
#7B998B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #78a040;
/* rgb */ color: rgb(120, 160, 64);
/* oklch */ color: oklch(65.6% 0.133 128.6);
Tailwind
colors: {
  custom: {
    50: '#a1bc78',
    500: '#78a040',
    950: '#000000',
  },
}
SCSS
$custom: #78a040;
$custom-light: #a1bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#78a040",
  "rgb": {
    "r": 120,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 85,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65565,
    "c": 0.13295,
    "h": 128.6
  },
  "luminance": 0.29505
}

Semantic roles & 50–950 ramp

primary
#78A040
secondary
#9981BB
accent
#55D389
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #78A040

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

Preview Lab → · Contrast checker → · Palette generator →

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