Skip to content

#c2f021

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

RGB
194, 240, 33
HSL
73°, 87%, 54%
CMYK
19, 0, 86, 6
Luminance
0.7390

Every format

HEX#c2f021
RGBrgb(194, 240, 33)
HSLhsl(73, 87%, 54%)
CMYKcmyk(19%, 0%, 86%, 6%)
LABlab(88.9 -38.7 82.7)
LCHlch(88.9 91.3 115.1)
OKLCHoklch(0.891 0.212 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2f021 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#c2f021 on black: 15.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green94.1%
Blue12.9%

CMYK percentages

Cyan19.2%
Magenta0.0%
Yellow86.3%
Key (black)5.9%

Color previews

#c2f021 text on a black background

contrast 15.78:1

Card sample

#c2f021 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 240, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 240, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2f021;
background: linear-gradient(135deg, #c2f021, #38F021);

Monochromatic scale

Palettes built from #c2f021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f021 in the Color Lab