Skip to content

#affc49

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

RGB
175, 252, 73
HSL
86°, 97%, 64%
CMYK
31, 0, 71, 1
Luminance
0.7922

Every format

HEX#affc49
RGBrgb(175, 252, 73)
HSLhsl(86, 97%, 64%)
CMYKcmyk(31%, 0%, 71%, 1%)
LABlab(91.3 -49.3 73.8)
LCHlch(91.3 88.7 123.8)
OKLCHoklch(0.909 0.217 130.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green98.8%
Blue28.6%

CMYK percentages

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

Color previews

#affc49 text on a black background

contrast 16.84:1

Card sample

#affc49 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affc49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc49 in the Color Lab