#78A226#78A226

#78A226 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.8% C 0.154 H 127.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#78A226
RGBrgb(120, 162, 38)
HSLhsl(80, 62%, 39%)
HSVhsv(80, 77%, 64%)
CMYKcmyk(25.9%, 0%, 76.5%, 36.5%)
CIE-LABlab(61.63, -32.27, 55.64)
CIE-LCHlch(61.63, 64.32, 120.11°)
OKLaboklab(65.83% -0.093 0.1233)
OKLCHoklch(65.83% 0.154 127)
XYZxyz(21.0160, 29.9733, 6.5115)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A226 #5026A2
analogous
#A28E26 #78A226 #3AA226
triadic
#78A226 #2678A2 #A22678
tetradic
#78A226 #26A28E #5026A2 #A2263A
square
#78A226 #26A28E #5026A2 #A2263A
split-complementary
#78A226 #263AA2 #8E26A2
monochromatic
#2F3F0F #53701A #78A226 #9BD035 #B4DB67

Accessibility & contrast

On white

3.00
#78A226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#78A226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78A226
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A226#FFFFFF#000000##000000
##78A2261.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9707
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#7D9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #78a226;
/* rgb */ color: rgb(120, 162, 38);
/* oklch */ color: oklch(65.8% 0.154 127.0);
Tailwind
colors: {
  custom: {
    50: '#a3bd6a',
    500: '#78a226',
    950: '#000000',
  },
}
SCSS
$custom: #78a226;
$custom-light: #a3bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#78a226",
  "rgb": {
    "r": 120,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 80.323,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65831,
    "c": 0.15445,
    "h": 127
  },
  "luminance": 0.29974
}

Semantic roles & 50–950 ramp

primary
#78A226
secondary
#8363C1
accent
#43E57A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #78A226

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

Preview Lab → · Contrast checker → · Palette generator →

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