Skip to content

#afe2af

a light, vivid green · cool · closest name: aquamarine

RGB
175, 226, 175
HSL
120°, 47%, 79%
CMYK
23, 0, 23, 11
Luminance
0.6660

Every format

HEX#afe2af
RGBrgb(175, 226, 175)
HSLhsl(120, 47%, 79%)
CMYKcmyk(23%, 0%, 23%, 11%)
LABlab(85.3 -26.1 19.7)
LCHlch(85.3 32.7 143.0)
OKLCHoklch(0.864 0.087 144.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe2af on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#afe2af on black: 14.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green88.6%
Blue68.6%

CMYK percentages

Cyan22.6%
Magenta0.0%
Yellow22.6%
Key (black)11.4%

Color previews

#afe2af text on a black background

contrast 14.32:1

Card sample

#afe2af text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe2af in the Color Lab