Skip to content

#afff3b

a balanced, electric green · cool · closest name: yellow

RGB
175, 255, 59
HSL
85°, 100%, 62%
CMYK
31, 0, 77, 0
Luminance
0.8095

Every format

HEX#afff3b
RGBrgb(175, 255, 59)
HSLhsl(85, 100%, 62%)
CMYKcmyk(31%, 0%, 77%, 0%)
LABlab(92.1 -51.3 78.9)
LCHlch(92.1 94.1 123.0)
OKLCHoklch(0.915 0.228 130.0)

Copy-ready code

/* CSS */
color: #afff3b;
background-color: #afff3b;
/* Tailwind (arbitrary) */
class="text-[#afff3b] bg-[#afff3b]"
/* SCSS */
$brand: #afff3b;
/* SwiftUI */
Color(red: 0.686, green: 1.000, blue: 0.231)
/* Android */
Color.parseColor("#afff3b")

Accessibility — WCAG contrast

Aa
#afff3b on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#afff3b on black: 17.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green100.0%
Blue23.1%

CMYK percentages

Cyan31.4%
Magenta0.0%
Yellow76.9%
Key (black)0.0%

Color previews

#afff3b text on a black background

contrast 17.19:1

Card sample

#afff3b text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 255, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 255, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afff3b;
background: linear-gradient(135deg, #afff3b, #3BFF4A);

Monochromatic scale

Palettes built from #afff3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afff3b in the Color Lab