Skip to content

#4af261

a balanced, electric green · cool · closest name: lime

RGB
74, 242, 97
HSL
128°, 87%, 62%
CMYK
69, 0, 60, 5
Luminance
0.6582

Every format

HEX#4af261
RGBrgb(74, 242, 97)
HSLhsl(128, 87%, 62%)
CMYKcmyk(69%, 0%, 60%, 5%)
LABlab(84.9 -70.7 56.5)
LCHlch(84.9 90.5 141.4)
OKLCHoklch(0.846 0.233 145.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4af261 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#4af261 on black: 14.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green94.9%
Blue38.0%

CMYK percentages

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

Color previews

#4af261 text on a black background

contrast 14.16:1

Card sample

#4af261 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4af261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4af261 in the Color Lab