Skip to content

#80ac2f

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

RGB
128, 172, 47
HSL
81°, 57%, 43%
CMYK
26, 0, 73, 33
Luminance
0.3430

At a glance

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

Hex
#80ac2f
Hue
81°
green
Saturation
57%
vivid
Lightness
43%
dark
Brightness
67%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3430
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
7.86:1
Closest name
Yellow Green
ΔE2000 9.1
Where it sits
Hue81° of 360°
Saturation57%
Lightness43%
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#80ac2f
RGBrgb(128, 172, 47)
HSLhsl(81, 57%, 43%)
CMYKcmyk(26%, 0%, 73%, 33%)
LABlab(65.2 -33.2 56.1)
LCHlch(65.2 65.2 120.6)
OKLCHoklch(0.689 0.158 127.2)
Decimal8432687
Display P3color(display-p3 0.502 0.675 0.184)

Copy-ready code

/* CSS */
color: #80ac2f;
background-color: #80ac2f;
/* Tailwind (arbitrary) */
class="text-[#80ac2f] bg-[#80ac2f]"
/* SCSS */
$brand: #80ac2f;
/* SwiftUI */
Color(red: 0.502, green: 0.675, blue: 0.184)
/* Android */
Color.parseColor("#80ac2f")
/* Flutter */
Color(0xFF80AC2F)
/* Python / OpenCV (BGR) */
(47, 172, 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 #80ac2f · 7.86:1
Use #000000AAA at every size.
Aa
White text · 2.67:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.86:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #80ac2f as text scores 2.67:1 on white and 7.86:1 on black.

Accessibility — WCAG contrast

Aa
#80ac2f on white: 2.67:1
AA ✗ fail · AA-large · AAA
Aa
#80ac2f on black: 7.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B5A018
deuteranopia · #AF9D3A
tritanopia · #85A494

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #80ac2f 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.

#F8FBF4
#F2F7E9
#E3EFCD
#D0E7A7
#B9DB7B
#A2CF4F
#8FC035
#80ac2f
#5F8023
#475D1D
#2C3A12
Base = 700Lightest = 50 · #F8FBF4Darkest = 950 · #2C3A12
:root {
  --brand-50: #F8FBF4;
  --brand-100: #F2F7E9;
  --brand-200: #E3EFCD;
  --brand-300: #D0E7A7;
  --brand-400: #B9DB7B;
  --brand-500: #A2CF4F;
  --brand-600: #8FC035;
  --brand-700: #80ac2f;
  --brand-800: #5F8023;
  --brand-900: #475D1D;
  --brand-950: #2C3A12;
  --brand: #80ac2f;
  --brand-ink: #000000;
}

Colors that work with #80ac2f

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#DDEDC0
Hairlines and dividers
Muted text#7F9B4B
Captions on the surface
Accent#382BB0
Second voice, not a rival
Dark variant#4B641B
Hover, pressed, headers
Light variant#F4FAEB
Selected rows, tints
Dark surface#1F2414
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 #80ac2f

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#5B2FAC
Analogous left#AC992F
Analogous right#41AC2F
Split-complement 1#2F41AC
Split-complement 2#992FAC
Triadic 1#2F80AC
Triadic 2#AC2F80
Tetradic#2FAC99

RGB percentages

Red50.2%
Green67.5%
Blue18.4%

CMYK percentages

Cyan25.6%
Magenta0.0%
Yellow72.7%
Key (black)32.5%

Color previews

#80ac2f text on a black background

contrast 7.86:1

Card sample

#80ac2f text on a white background

contrast 2.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #80ac2f

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.

#80ac2f 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

Converts to four-color process without much drama. Proof it anyway.

#80ac2f, answered

What color is #80ac2f?

#80ac2f is a dark vivid green, closest to Yellow Green (ΔE2000 9.1). It sits at 81° on the hue wheel with 57% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #80ac2f?

rgb(128, 172, 47) — 128 red, 172 green and 47 blue out of 255, or 50.2% / 67.5% / 18.4% by channel.

Is #80ac2f a light or a dark color?

It is a mid-tone. Relative luminance is 0.3430 and perceived brightness is 59%, so black text on it reaches 7.86:1.

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

Black. It scores 7.86:1 against #80ac2f, versus 2.67:1 for white — AAA at any size.

What is the complementary color of #80ac2f?

#5B2FAC sits directly opposite on the wheel. Softer options are the split-complements #2F41AC and #992FAC, which give the same contrast with far less vibration.

What colors go well with #80ac2f?

For interface work: #F8FAF4 as the surface, #DDEDC0 for borders, #7F9B4B for secondary text, #382BB0 as an accent and #4B641B for hover and pressed states. For a palette, the analogous pair #AC992F and #41AC2F stays calm, while #5B2FAC is the loudest partner.

What is #80ac2f in CMYK for printing?

cmyk(26%, 0%, 73%, 33%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #80ac2f 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 #ACAA2F; nudged cooler, #51AE2D.

Work with #80ac2f in the Color Lab