Skip to content

#afef3f

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

RGB
175, 239, 63
HSL
82°, 85%, 59%
CMYK
27, 0, 74, 6
Luminance
0.7121

Every format

HEX#afef3f
RGBrgb(175, 239, 63)
HSLhsl(82, 85%, 59%)
CMYKcmyk(27%, 0%, 74%, 6%)
LABlab(87.6 -44.4 73.4)
LCHlch(87.6 85.8 121.1)
OKLCHoklch(0.878 0.207 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green93.7%
Blue24.7%

CMYK percentages

Cyan26.8%
Magenta0.0%
Yellow73.6%
Key (black)6.3%

Color previews

#afef3f text on a black background

contrast 15.24:1

Card sample

#afef3f text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afef3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afef3f in the Color Lab