Skip to content

#affc3d

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

RGB
175, 252, 61
HSL
84°, 97%, 61%
CMYK
31, 0, 76, 1
Luminance
0.7907

Every format

HEX#affc3d
RGBrgb(175, 252, 61)
HSLhsl(84, 97%, 61%)
CMYKcmyk(31%, 0%, 76%, 1%)
LABlab(91.3 -50.0 77.5)
LCHlch(91.3 92.2 122.8)
OKLCHoklch(0.908 0.223 129.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green98.8%
Blue23.9%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow75.8%
Key (black)1.2%

Color previews

#affc3d text on a black background

contrast 16.81:1

Card sample

#affc3d text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affc3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc3d in the Color Lab