Skip to content

#afef39

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

RGB
175, 239, 57
HSL
81°, 85%, 58%
CMYK
27, 0, 76, 6
Luminance
0.7114

Every format

HEX#afef39
RGBrgb(175, 239, 57)
HSLhsl(81, 85%, 58%)
CMYKcmyk(27%, 0%, 76%, 6%)
LABlab(87.5 -44.7 75.2)
LCHlch(87.5 87.5 120.7)
OKLCHoklch(0.878 0.210 127.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afef39 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#afef39 on black: 15.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green93.7%
Blue22.4%

CMYK percentages

Cyan26.8%
Magenta0.0%
Yellow76.2%
Key (black)6.3%

Color previews

#afef39 text on a black background

contrast 15.23:1

Card sample

#afef39 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afef39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afef39 in the Color Lab