Skip to content

#2fd768

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

RGB
47, 215, 104
HSL
140°, 68%, 51%
CMYK
78, 0, 52, 16
Luminance
0.5020

Every format

HEX#2fd768
RGBrgb(47, 215, 104)
HSLhsl(140, 68%, 51%)
CMYKcmyk(78%, 0%, 52%, 16%)
LABlab(76.2 -64.8 42.8)
LCHlch(76.2 77.7 146.5)
OKLCHoklch(0.773 0.202 149.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2fd768 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#2fd768 on black: 11.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green84.3%
Blue40.8%

CMYK percentages

Cyan78.1%
Magenta0.0%
Yellow51.6%
Key (black)15.7%

Color previews

#2fd768 text on a black background

contrast 11.04:1

Card sample

#2fd768 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 215, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 215, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2fd768;
background: linear-gradient(135deg, #2fd768, #2FD6D7);

Monochromatic scale

Palettes built from #2fd768

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2fd768 in the Color Lab