Skip to content

#9df261

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

RGB
157, 242, 97
HSL
95°, 85%, 67%
CMYK
35, 0, 60, 5
Luminance
0.7154

Every format

HEX#9df261
RGBrgb(157, 242, 97)
HSLhsl(95, 85%, 67%)
CMYKcmyk(35%, 0%, 60%, 5%)
LABlab(87.7 -49.5 60.5)
LCHlch(87.7 78.2 129.3)
OKLCHoklch(0.877 0.197 134.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9df261 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#9df261 on black: 15.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green94.9%
Blue38.0%

CMYK percentages

Cyan35.1%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#9df261 text on a black background

contrast 15.31:1

Card sample

#9df261 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 242, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 242, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9df261;
background: linear-gradient(135deg, #9df261, #61F286);

Monochromatic scale

Palettes built from #9df261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9df261 in the Color Lab