Skip to content

#affc92

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

RGB
175, 252, 146
HSL
104°, 95%, 78%
CMYK
31, 0, 42, 1
Luminance
0.8081

Every format

HEX#affc92
RGBrgb(175, 252, 146)
HSLhsl(104, 95%, 78%)
CMYKcmyk(31%, 0%, 42%, 1%)
LABlab(92.0 -42.4 43.4)
LCHlch(92.0 60.6 134.4)
OKLCHoklch(0.917 0.157 137.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green98.8%
Blue57.3%

CMYK percentages

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

Color previews

#affc92 text on a black background

contrast 17.16:1

Card sample

#affc92 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affc92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc92 in the Color Lab