Maroon Colors  ·  Color Library

Palettes / Colors / #AFFC40

#AFFC40 — Vivid Green

#AFFC40 is a green color we call Vivid Green, closest to the named color GreenYellow (#ADFF2F). It belongs to the green family.

Color name

Closest CSS keyword: greenyellow (#ADFF2F) — not an exact match. CSS greenyellow gives you #ADFF2F, a different color; use #AFFC40 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#AFFC40 is a warm-leaning green color associated with growth, calm and balance. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #8E40FC; it also sits naturally between #FCEC40 and #50FC40. In the palettes below you can see it working alongside real color combinations from our collection.

#AFFC40 · RGB 175, 252, 64

Download PNG swatch SVG

Color values

HEX#AFFC40
RGB175, 252, 64
HSL85°, 97%, 62%
HSV85°, 75%, 99%
CMYK31%, 0%, 75%, 1%
XYZ53.42, 79.10, 17.30
Yxy79.10, 0.3565, 0.5280
CIE-Lab91.28, -49.81, 76.64
Hunter Lab88.94, -44.39, 47.65

RGB & CMYK percentages

Red 69% · Green 99% · Blue 25%

Cyan 31% · Magenta 0% · Yellow 75% · Key 1%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #AFFC40 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #AFFC40 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #AFFC40

.text { color: #AFFC40; }
.background { background-color: #AFFC40; }
.border { border: 3px solid #AFFC40; }
.text-rgb { color: rgb(175, 252, 64); }
.text-hsl { color: hsl(85, 97%, 62%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AFFC40; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 252, 64, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AFFC40; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 252, 64, 0.8); }

HTML: <p style="color:#AFFC40">Text here</p> · <div style="background-color:#AFFC40">Div content here</div>

Shades of #AFFC40

#A1FC22#94FB04#85E203#74C403#62A603#508802#3E6902#2F5001#1E3201#0C1400

Tints of #AFFC40

#B4FC4F#BDFD63#C3FD72#CCFD86#D2FD96#D9FEA5#E1FEB9#E7FEC8#F0FEDC#F6FFEB

Tones of #AFFC40

#ACEF4E#A9E15B#A7D369#A5C775#A3B983#A0AC91

Color harmonies

Complementary — #8E40FC:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.25:1 Fails
Against black text16.82:1 AAA

Best text color on #AFFC40: #000000.

Semi-transparent (opacity) text on #AFFC40

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #AFFC40: ·

How #AFFC40 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #D0D16DDeuteranopia · #CCC678Tritanopia · #B39199

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Lime 500 · #CDDC39Material Light Green 500 · #8BC34ATailwind lime 500 · #84CC16

Palettes with a similar color

These palettes use a close neighbour of #AFFC40 rather than the exact color:

Modern Ember
#0C1A2B · #36F615 · #A3F940 · #FC9724
Burning Ruby Ember
#3E840C · #A9EE43 · #A642EE · #DDC8F6
Tender Twilight
#1D0610 · #3CF8E0 · #AEFB50 · #23FAAD
Hidden Ruby Cascade
#350D0B · #3BFA27 · #B8FC4F · #28FA47
Hidden Ruby Summit
#200C1C · #70FB14 · #72F857 · #A2F732
Vintage Cinder
#110C36 · #FAAD4E · #15F53A · #C3FA48

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#A3F940#A9EE43#AEFB50#B8FC4F#A2F732#C3FA48#9BF838#B9E937#B9E936#9FFE2C#ADE245#9DEB4A

Browse neighbouring colors

← #AFFC3F  ·  #AFFC41 →

Frequently asked questions

What color is #AFFC40?

#AFFC40 is Vivid Green, a green color (RGB 175, 252, 64). Its closest standard named color is GreenYellow.

What is the RGB and HSL of #AFFC40?

#AFFC40 is RGB 175, 252, 64 — HSL 85°, 97%, 62% — CMYK 31%, 0%, 75%, 1%.

What colors go with #AFFC40?

Its complement is #8E40FC; analogous partners are #FCEC40 and #50FC40. It also appears in 6+ palettes in our collection.

Can I use #AFFC40 for text?

Black text on #AFFC40 has a contrast ratio of 16.82:1 (passes WCAG AA); white text gives 1.25:1.