Skip to content

#c2eb0f

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

RGB
194, 235, 15
HSL
71°, 88%, 49%
CMYK
17, 0, 94, 8
Luminance
0.7092

Every format

HEX#c2eb0f
RGBrgb(194, 235, 15)
HSLhsl(71, 88%, 49%)
CMYKcmyk(17%, 0%, 94%, 8%)
LABlab(87.5 -36.8 84.1)
LCHlch(87.5 91.8 113.7)
OKLCHoklch(0.879 0.210 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green92.2%
Blue5.9%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow93.6%
Key (black)7.8%

Color previews

#c2eb0f text on a black background

contrast 15.18:1

Card sample

#c2eb0f text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2eb0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2eb0f in the Color Lab