Skip to content

#affc5d

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

RGB
175, 252, 93
HSL
89°, 96%, 68%
CMYK
31, 0, 63, 1
Luminance
0.7953

Every format

HEX#affc5d
RGBrgb(175, 252, 93)
HSLhsl(89, 96%, 68%)
CMYKcmyk(31%, 0%, 63%, 1%)
LABlab(91.5 -47.9 66.5)
LCHlch(91.5 82.0 125.8)
OKLCHoklch(0.910 0.204 131.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#affc5d on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#affc5d on black: 16.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green98.8%
Blue36.5%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow63.1%
Key (black)1.2%

Color previews

#affc5d text on a black background

contrast 16.91:1

Card sample

#affc5d text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affc5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc5d in the Color Lab