Skip to content

#afe261

a balanced, vivid green · cool · closest name: khaki

RGB
175, 226, 97
HSL
84°, 69%, 63%
CMYK
23, 0, 57, 11
Luminance
0.6437

Every format

HEX#afe261
RGBrgb(175, 226, 97)
HSLhsl(84, 69%, 63%)
CMYKcmyk(23%, 0%, 57%, 11%)
LABlab(84.2 -36.2 56.7)
LCHlch(84.2 67.3 122.6)
OKLCHoklch(0.851 0.167 127.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe261 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#afe261 on black: 13.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green88.6%
Blue38.0%

CMYK percentages

Cyan22.6%
Magenta0.0%
Yellow57.1%
Key (black)11.4%

Color previews

#afe261 text on a black background

contrast 13.87:1

Card sample

#afe261 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afe261 in the Color Lab