Skip to content

#a2f968

a light, electric green · cool · closest name: forestgreen

RGB
162, 249, 104
HSL
96°, 92%, 69%
CMYK
35, 0, 58, 2
Luminance
0.7643

Every format

HEX#a2f968
RGBrgb(162, 249, 104)
HSLhsl(96, 92%, 69%)
CMYKcmyk(35%, 0%, 58%, 2%)
LABlab(90.1 -50.1 60.2)
LCHlch(90.1 78.3 129.8)
OKLCHoklch(0.897 0.198 134.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2f968 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#a2f968 on black: 16.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green97.6%
Blue40.8%

CMYK percentages

Cyan34.9%
Magenta0.0%
Yellow58.2%
Key (black)2.4%

Color previews

#a2f968 text on a black background

contrast 16.29:1

Card sample

#a2f968 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 249, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 249, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2f968;
background: linear-gradient(135deg, #a2f968, #68F98F);

Monochromatic scale

Palettes built from #a2f968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2f968 in the Color Lab