Skip to content

#2eaf0f

a dark, electric green · cool · closest name: green

RGB
46, 175, 15
HSL
108°, 84%, 37%
CMYK
74, 0, 91, 31
Luminance
0.3128

Every format

HEX#2eaf0f
RGBrgb(46, 175, 15)
HSLhsl(108, 84%, 37%)
CMYKcmyk(74%, 0%, 91%, 31%)
LABlab(62.7 -60.2 61.3)
LCHlch(62.7 86.0 134.5)
OKLCHoklch(0.659 0.212 141.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2eaf0f on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#2eaf0f on black: 7.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green68.6%
Blue5.9%

CMYK percentages

Cyan73.7%
Magenta0.0%
Yellow91.4%
Key (black)31.4%

Color previews

#2eaf0f text on a black background

contrast 7.26:1

Card sample

#2eaf0f text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2eaf0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2eaf0f in the Color Lab