Skip to content

#affc1d

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

RGB
175, 252, 29
HSL
81°, 97%, 55%
CMYK
31, 0, 89, 1
Luminance
0.7882

Every format

HEX#affc1d
RGBrgb(175, 252, 29)
HSLhsl(81, 97%, 55%)
CMYKcmyk(31%, 0%, 89%, 1%)
LABlab(91.2 -51.1 84.8)
LCHlch(91.2 99.0 121.1)
OKLCHoklch(0.907 0.235 128.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green98.8%
Blue11.4%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow88.5%
Key (black)1.2%

Color previews

#affc1d text on a black background

contrast 16.76:1

Card sample

#affc1d text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 252, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 252, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #affc1d;
background: linear-gradient(135deg, #affc1d, #1DFC20);

Monochromatic scale

Palettes built from #affc1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc1d in the Color Lab