Skip to content

#80c40c

a dark, electric green · neutral · closest name: Yellow Green

RGB
128, 196, 12
HSL
82°, 89%, 41%
CMYK
35, 0, 94, 23
Luminance
0.4410

At a glance

Every number on this page in one read: what #80c40c is made of, how bright it looks, and which way it leans.

Hex
#80c40c
Hue
82°
green
Saturation
89%
electric
Lightness
41%
dark
Brightness
77%
HSV value
Perceived
65%
weighted brightness
Luminance
0.4410
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.82:1
Closest name
Yellow Green
ΔE2000 3.9
Where it sits
Hue82° of 360°
Saturation89%
Lightness41%
Temperature
Warm ← → Cool43% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#80c40c
RGBrgb(128, 196, 12)
HSLhsl(82, 89%, 41%)
CMYKcmyk(35%, 0%, 94%, 23%)
LABlab(72.3 -45.1 70.8)
LCHlch(72.3 84.0 122.5)
OKLCHoklch(0.746 0.200 130.4)
Decimal8438796
Display P3color(display-p3 0.502 0.769 0.047)

Copy-ready code

/* CSS */
color: #80c40c;
background-color: #80c40c;
/* Tailwind (arbitrary) */
class="text-[#80c40c] bg-[#80c40c]"
/* SCSS */
$brand: #80c40c;
/* SwiftUI */
Color(red: 0.502, green: 0.769, blue: 0.047)
/* Android */
Color.parseColor("#80c40c")
/* Flutter */
Color(0xFF80C40C)
/* Python / OpenCV (BGR) */
(12, 196, 128)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #80c40c · 9.82:1
Use #000000AAA at every size.
Aa
White text · 2.14:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.82:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #80c40c as text scores 2.14:1 on white and 9.82:1 on black.

Accessibility — WCAG contrast

Aa
#80c40c on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#80c40c on black: 9.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CDB400
deuteranopia · #C4B02C
tritanopia · #83BBA6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #80c40c is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FDF2
#F3FAE5
#E5F8C4
#D4F995
#BEF560
#A9F22C
#97E70E
#80c40c
#649A09
#4A6F0B
#2E4507
Base = 700Lightest = 50 · #F9FDF2Darkest = 950 · #2E4507
:root {
  --brand-50: #F9FDF2;
  --brand-100: #F3FAE5;
  --brand-200: #E5F8C4;
  --brand-300: #D4F995;
  --brand-400: #BEF560;
  --brand-500: #A9F22C;
  --brand-600: #97E70E;
  --brand-700: #80c40c;
  --brand-800: #649A09;
  --brand-900: #4A6F0B;
  --brand-950: #2E4507;
  --brand: #80c40c;
  --brand-ink: #000000;
}

Colors that work with #80c40c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8FAF4
Tinted page background
Border#DCEDC0
Hairlines and dividers
Muted text#7D9B4B
Captions on the surface
Accent#1F08C8
Second voice, not a rival
Dark variant#4E7807
Hover, pressed, headers
Light variant#F5FEE7
Selected rows, tints
Dark surface#1E2414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #80c40c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#500CC4
Analogous left#C4AC0C
Analogous right#24C40C
Split-complement 1#0C24C4
Split-complement 2#AC0CC4
Triadic 1#0C80C4
Triadic 2#C40C80
Tetradic#0CC4AC

RGB percentages

Red50.2%
Green76.9%
Blue4.7%

CMYK percentages

Cyan34.7%
Magenta0.0%
Yellow93.9%
Key (black)23.1%

Color previews

#80c40c text on a black background

contrast 9.82:1

Card sample

#80c40c text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #80c40c;
Background color
Panel with #80c40c background
background-color: #80c40c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #80c40c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 196, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 196, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #80c40c;
background: linear-gradient(135deg, #80c40c, #0CC413);

Monochromatic scale

Palettes built from #80c40c

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#80c40c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#80c40c, answered

What color is #80c40c?

#80c40c is a dark electric green, closest to Yellow Green (ΔE2000 3.9). It sits at 82° on the hue wheel with 89% saturation and 41% lightness, which reads as neutral.

What is the RGB value of #80c40c?

rgb(128, 196, 12) — 128 red, 196 green and 12 blue out of 255, or 50.2% / 76.9% / 4.7% by channel.

Is #80c40c a light or a dark color?

It is a mid-tone. Relative luminance is 0.4410 and perceived brightness is 65%, so black text on it reaches 9.82:1.

Should I use black or white text on #80c40c?

Black. It scores 9.82:1 against #80c40c, versus 2.14:1 for white — AAA at any size.

What is the complementary color of #80c40c?

#500CC4 sits directly opposite on the wheel. Softer options are the split-complements #0C24C4 and #AC0CC4, which give the same contrast with far less vibration.

What colors go well with #80c40c?

For interface work: #F8FAF4 as the surface, #DCEDC0 for borders, #7D9B4B for secondary text, #1F08C8 as an accent and #4E7807 for hover and pressed states. For a palette, the analogous pair #C4AC0C and #24C40C stays calm, while #500CC4 is the loudest partner.

What is #80c40c in CMYK for printing?

cmyk(35%, 0%, 94%, 23%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #80c40c warm or cool?

Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C4C40C; nudged cooler, #3BC60A.

Work with #80c40c in the Color Lab