Skip to content

#a8fd2f

a balanced, electric green · neutral · “Green Yellow”

RGB
168, 253, 47
HSL
85°, 98%, 59%
CMYK
34, 0, 81, 1
Luminance
0.7878

At a glance

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

Hex
#a8fd2f
Hue
85°
green
Saturation
98%
electric
Lightness
59%
balanced
Brightness
99%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7878
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Green
Tone
Electric
Best ink
Black
16.76:1
Closest name
Green Yellow
ΔE2000 0.7
Where it sits
Hue85° of 360°
Saturation98%
Lightness59%
Temperature
Warm ← → Cool46% 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#a8fd2f
RGBrgb(168, 253, 47)
HSLhsl(85, 98%, 59%)
CMYKcmyk(34%, 0%, 81%, 1%)
LABlab(91.1 -53.4 81.0)
LCHlch(91.1 97.1 123.4)
OKLCHoklch(0.906 0.234 130.7)
Decimal11074863
Display P3color(display-p3 0.659 0.992 0.184)

Copy-ready code

/* CSS */
color: #a8fd2f;
background-color: #a8fd2f;
/* Tailwind (arbitrary) */
class="text-[#a8fd2f] bg-[#a8fd2f]"
/* SCSS */
$brand: #a8fd2f;
/* SwiftUI */
Color(red: 0.659, green: 0.992, blue: 0.184)
/* Android */
Color.parseColor("#a8fd2f")
/* Flutter */
Color(0xFFA8FD2F)
/* Python / OpenCV (BGR) */
(47, 253, 168)

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 #a8fd2f · 16.76:1
Use #000000AAA at every size.
Aa
White text · 1.25:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.76:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a8fd2f as text scores 1.25:1 on white and 16.76:1 on black.

Accessibility — WCAG contrast

Aa
#a8fd2f on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#a8fd2f on black: 16.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEA00
deuteranopia · #FDE348
tritanopia · #ACF2D8

Color scale — 50 to 950

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

#F8FDF1
#F2FCE3
#E3FBC1
#D0FE90
#B9FD58
#a8fd2f
#8FF202
#77CA02
#5FA202
#477406
#2C4904
Base = 500Lightest = 50 · #F8FDF1Darkest = 950 · #2C4904
:root {
  --brand-50: #F8FDF1;
  --brand-100: #F2FCE3;
  --brand-200: #E3FBC1;
  --brand-300: #D0FE90;
  --brand-400: #B9FD58;
  --brand-500: #a8fd2f;
  --brand-600: #8FF202;
  --brand-700: #77CA02;
  --brand-800: #5FA202;
  --brand-900: #477406;
  --brand-950: #2C4904;
  --brand: #a8fd2f;
  --brand-ink: #000000;
}

Colors that work with #a8fd2f

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#DAEDC0
Hairlines and dividers
Muted text#7A9B4B
Captions on the surface
Accent#4F2DFF
Second voice, not a rival
Dark variant#4B7E01
Hover, pressed, headers
Light variant#F4FFE6
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 #a8fd2f

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
  • 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
  • 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#842FFD
Analogous left#FDEB2F
Analogous right#41FD2F
Split-complement 1#2F41FD
Split-complement 2#EB2FFD
Triadic 1#2FA8FD
Triadic 2#FD2FA8
Tetradic#2FFDEB

RGB percentages

Red65.9%
Green99.2%
Blue18.4%

CMYK percentages

Cyan33.6%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#a8fd2f text on a black background

contrast 16.76:1

Card sample

#a8fd2f text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(168, 253, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 253, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a8fd2f;
background: linear-gradient(135deg, #a8fd2f, #2FFD3F);

Monochromatic scale

Palettes built from #a8fd2f

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.

#a8fd2f 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.

#a8fd2f, answered

What color is #a8fd2f?

#a8fd2f is a balanced electric green — the CSS keyword Green Yellow. It sits at 85° on the hue wheel with 98% saturation and 59% lightness, which reads as neutral.

What is the RGB value of #a8fd2f?

rgb(168, 253, 47) — 168 red, 253 green and 47 blue out of 255, or 65.9% / 99.2% / 18.4% by channel.

Is #a8fd2f a light or a dark color?

It is a light color. Relative luminance is 0.7878 and perceived brightness is 84%, so black text on it reaches 16.76:1.

Should I use black or white text on #a8fd2f?

Black. It scores 16.76:1 against #a8fd2f, versus 1.25:1 for white — AAA at any size.

What is the complementary color of #a8fd2f?

#842FFD sits directly opposite on the wheel. Softer options are the split-complements #2F41FD and #EB2FFD, which give the same contrast with far less vibration.

What colors go well with #a8fd2f?

For interface work: #F8FAF4 as the surface, #DAEDC0 for borders, #7A9B4B for secondary text, #4F2DFF as an accent and #4B7E01 for hover and pressed states. For a palette, the analogous pair #FDEB2F and #41FD2F stays calm, while #842FFD is the loudest partner.

What is #a8fd2f in CMYK for printing?

cmyk(34%, 0%, 81%, 1%). 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 #a8fd2f warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F3FD2F; nudged cooler, #5BFF2D.

Work with #a8fd2f in the Color Lab