Skip to content

#affc39

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

RGB
175, 252, 57
HSL
84°, 97%, 61%
CMYK
31, 0, 77, 1
Luminance
0.7903

Every format

HEX#affc39
RGBrgb(175, 252, 57)
HSLhsl(84, 97%, 61%)
CMYKcmyk(31%, 0%, 77%, 1%)
LABlab(91.3 -50.1 78.7)
LCHlch(91.3 93.3 122.5)
OKLCHoklch(0.908 0.225 129.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green98.8%
Blue22.4%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow77.4%
Key (black)1.2%

Color previews

#affc39 text on a black background

contrast 16.81:1

Card sample

#affc39 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affc39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc39 in the Color Lab