Skip to content

#c0f821

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

RGB
192, 248, 33
HSL
76°, 94%, 55%
CMYK
23, 0, 87, 3
Luminance
0.7845

Every format

HEX#c0f821
RGBrgb(192, 248, 33)
HSLhsl(76, 94%, 55%)
CMYKcmyk(23%, 0%, 87%, 3%)
LABlab(91.0 -43.0 84.3)
LCHlch(91.0 94.7 117.0)
OKLCHoklch(0.908 0.221 124.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0f821 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#c0f821 on black: 16.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green97.3%
Blue12.9%

CMYK percentages

Cyan22.6%
Magenta0.0%
Yellow86.7%
Key (black)2.7%

Color previews

#c0f821 text on a black background

contrast 16.69:1

Card sample

#c0f821 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 248, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 248, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0f821;
background: linear-gradient(135deg, #c0f821, #31F821);

Monochromatic scale

Palettes built from #c0f821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0f821 in the Color Lab