Skip to content

#c0eb3b

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

RGB
192, 235, 59
HSL
75°, 82%, 58%
CMYK
18, 0, 75, 8
Luminance
0.7094

Every format

HEX#c0eb3b
RGBrgb(192, 235, 59)
HSLhsl(75, 82%, 58%)
CMYKcmyk(18%, 0%, 75%, 8%)
LABlab(87.5 -36.4 74.9)
LCHlch(87.5 83.3 115.9)
OKLCHoklch(0.879 0.197 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red75.3%
Green92.2%
Blue23.1%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow74.9%
Key (black)7.8%

Color previews

#c0eb3b text on a black background

contrast 15.19:1

Card sample

#c0eb3b text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 235, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 235, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0eb3b;
background: linear-gradient(135deg, #c0eb3b, #4AEB3B);

Monochromatic scale

Palettes built from #c0eb3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0eb3b in the Color Lab