Skip to content

#afe430

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

RGB
175, 228, 48
HSL
78°, 77%, 54%
CMYK
23, 0, 79, 11
Luminance
0.6481

Every format

HEX#afe430
RGBrgb(175, 228, 48)
HSLhsl(78, 77%, 54%)
CMYKcmyk(23%, 0%, 79%, 11%)
LABlab(84.4 -40.3 74.9)
LCHlch(84.4 85.0 118.3)
OKLCHoklch(0.852 0.202 125.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe430 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#afe430 on black: 13.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green89.4%
Blue18.8%

CMYK percentages

Cyan23.2%
Magenta0.0%
Yellow78.9%
Key (black)10.6%

Color previews

#afe430 text on a black background

contrast 13.96:1

Card sample

#afe430 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 228, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 228, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afe430;
background: linear-gradient(135deg, #afe430, #37E430);

Monochromatic scale

Palettes built from #afe430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe430 in the Color Lab