Skip to content

#2daf80

a dark, vivid green · cool · closest name: seagreen

RGB
45, 175, 128
HSL
158°, 59%, 43%
CMYK
74, 0, 27, 31
Luminance
0.3278

Every format

HEX#2daf80
RGBrgb(45, 175, 128)
HSLhsl(158, 59%, 43%)
CMYKcmyk(74%, 0%, 27%, 31%)
LABlab(64.0 -45.8 14.3)
LCHlch(64.0 48.0 162.6)
OKLCHoklch(0.673 0.131 163.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2daf80 on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#2daf80 on black: 7.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green68.6%
Blue50.2%

CMYK percentages

Cyan74.3%
Magenta0.0%
Yellow26.9%
Key (black)31.4%

Color previews

#2daf80 text on a black background

contrast 7.56:1

Card sample

#2daf80 text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 175, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 175, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2daf80;
background: linear-gradient(135deg, #2daf80, #2D87AF);

Monochromatic scale

Palettes built from #2daf80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2daf80 in the Color Lab