Skip to content

#affc3b

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

RGB
175, 252, 59
HSL
84°, 97%, 61%
CMYK
31, 0, 77, 1
Luminance
0.7905

Every format

HEX#affc3b
RGBrgb(175, 252, 59)
HSLhsl(84, 97%, 61%)
CMYKcmyk(31%, 0%, 77%, 1%)
LABlab(91.3 -50.0 78.1)
LCHlch(91.3 92.8 122.7)
OKLCHoklch(0.908 0.224 129.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green98.8%
Blue23.1%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow76.6%
Key (black)1.2%

Color previews

#affc3b text on a black background

contrast 16.81:1

Card sample

#affc3b text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affc3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc3b in the Color Lab