#78A42A#78A42A

#78A42A is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.4% C 0.155 H 127.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#78A42A
RGBrgb(120, 164, 42)
HSLhsl(82, 59%, 40%)
HSVhsv(82, 74%, 64%)
CMYKcmyk(26.8%, 0%, 74.4%, 35.7%)
CIE-LABlab(62.26, -32.98, 54.86)
CIE-LCHlch(62.26, 64.01, 121.01°)
OKLaboklab(66.35% -0.0946 0.1224)
OKLCHoklch(66.35% 0.155 127.7)
XYZxyz(21.4391, 30.7107, 6.9883)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A42A #562AA4
analogous
#A4932A #78A42A #3BA42A
triadic
#78A42A #2A78A4 #A42A78
tetradic
#78A42A #2AA493 #562AA4 #A42A3B
square
#78A42A #2AA493 #562AA4 #A42A3B
split-complementary
#78A42A #2A3BA4 #932AA4
monochromatic
#314311 #54731E #78A42A #9ACD3E #B3DA6E

Accessibility & contrast

On white

2.94
#78A42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#78A42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A42A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A42A#FFFFFF#000000##000000
##78A42A1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9811
Deuteranopia (green-blind)
#A69635
Tritanopia (blue-blind)
#7C9C8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #78a42a;
/* rgb */ color: rgb(120, 164, 42);
/* oklch */ color: oklch(66.4% 0.155 127.7);
Tailwind
colors: {
  custom: {
    50: '#a3bf6c',
    500: '#78a42a',
    950: '#000000',
  },
}
SCSS
$custom: #78a42a;
$custom-light: #a3bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#78a42a",
  "rgb": {
    "r": 120,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 81.639,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66351,
    "c": 0.15465,
    "h": 127.7
  },
  "luminance": 0.30711
}

Semantic roles & 50–950 ramp

primary
#78A42A
secondary
#8969C1
accent
#45E27E
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #78A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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