Skip to content

#affc45

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

RGB
175, 252, 69
HSL
85°, 97%, 63%
CMYK
31, 0, 73, 1
Luminance
0.7916

Every format

HEX#affc45
RGBrgb(175, 252, 69)
HSLhsl(85, 97%, 63%)
CMYKcmyk(31%, 0%, 73%, 1%)
LABlab(91.3 -49.5 75.1)
LCHlch(91.3 89.9 123.4)
OKLCHoklch(0.908 0.219 130.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green98.8%
Blue27.1%

CMYK percentages

Cyan30.6%
Magenta0.0%
Yellow72.6%
Key (black)1.2%

Color previews

#affc45 text on a black background

contrast 16.83:1

Card sample

#affc45 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #affc45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #affc45 in the Color Lab