Skip to content

#affc68

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

RGB
175, 252, 104
HSL
91°, 96%, 70%
CMYK
31, 0, 59, 1
Luminance
0.7973

Every format

HEX#affc68
RGBrgb(175, 252, 104)
HSLhsl(91, 96%, 70%)
CMYKcmyk(31%, 0%, 59%, 1%)
LABlab(91.6 -47.0 62.0)
LCHlch(91.6 77.8 127.2)
OKLCHoklch(0.911 0.195 132.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green98.8%
Blue40.8%

CMYK percentages

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

Color previews

#affc68 text on a black background

contrast 16.95:1

Card sample

#affc68 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affc68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc68 in the Color Lab