Skip to content

#9af261

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

RGB
154, 242, 97
HSL
96°, 85%, 67%
CMYK
36, 0, 60, 5
Luminance
0.7124

Every format

HEX#9af261
RGBrgb(154, 242, 97)
HSLhsl(96, 85%, 67%)
CMYKcmyk(36%, 0%, 60%, 5%)
LABlab(87.6 -50.5 60.3)
LCHlch(87.6 78.6 130.0)
OKLCHoklch(0.876 0.198 135.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red60.4%
Green94.9%
Blue38.0%

CMYK percentages

Cyan36.4%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#9af261 text on a black background

contrast 15.25:1

Card sample

#9af261 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9af261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9af261 in the Color Lab