Skip to content

#c0ef1f

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

RGB
192, 239, 31
HSL
74°, 87%, 53%
CMYK
20, 0, 87, 6
Luminance
0.7304

Every format

HEX#c0ef1f
RGBrgb(192, 239, 31)
HSLhsl(74, 87%, 53%)
CMYKcmyk(20%, 0%, 87%, 6%)
LABlab(88.5 -39.1 82.6)
LCHlch(88.5 91.4 115.3)
OKLCHoklch(0.887 0.212 123.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0ef1f on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#c0ef1f on black: 15.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green93.7%
Blue12.2%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#c0ef1f text on a black background

contrast 15.61:1

Card sample

#c0ef1f text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0ef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0ef1f in the Color Lab