Skip to content

#c2f045

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

RGB
194, 240, 69
HSL
76°, 85%, 61%
CMYK
19, 0, 71, 6
Luminance
0.7422

Every format

HEX#c2f045
RGBrgb(194, 240, 69)
HSLhsl(76, 85%, 61%)
CMYKcmyk(19%, 0%, 71%, 6%)
LABlab(89.0 -37.4 73.2)
LCHlch(89.0 82.2 117.0)
OKLCHoklch(0.893 0.196 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green94.1%
Blue27.1%

CMYK percentages

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

Color previews

#c2f045 text on a black background

contrast 15.84:1

Card sample

#c2f045 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2f045

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2f045 in the Color Lab