Skip to content

#affc98

a light, electric green · cool · closest name: aquamarine

RGB
175, 252, 152
HSL
106°, 94%, 79%
CMYK
31, 0, 40, 1
Luminance
0.8100

Every format

HEX#affc98
RGBrgb(175, 252, 152)
HSLhsl(106, 94%, 79%)
CMYKcmyk(31%, 0%, 40%, 1%)
LABlab(92.1 -41.6 40.5)
LCHlch(92.1 58.1 135.8)
OKLCHoklch(0.918 0.151 138.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green98.8%
Blue59.6%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow39.7%
Key (black)1.2%

Color previews

#affc98 text on a black background

contrast 17.20:1

Card sample

#affc98 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affc98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc98 in the Color Lab