Skip to content

#c2df0b

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

RGB
194, 223, 11
HSL
68°, 91%, 46%
CMYK
13, 0, 95, 13
Luminance
0.6427

Every format

HEX#c2df0b
RGBrgb(194, 223, 11)
HSLhsl(68, 91%, 46%)
CMYKcmyk(13%, 0%, 95%, 13%)
LABlab(84.1 -31.4 81.9)
LCHlch(84.1 87.7 111.0)
OKLCHoklch(0.852 0.199 118.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2df0b on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#c2df0b on black: 13.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green87.5%
Blue4.3%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow95.1%
Key (black)12.5%

Color previews

#c2df0b text on a black background

contrast 13.85:1

Card sample

#c2df0b text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 223, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 223, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2df0b;
background: linear-gradient(135deg, #c2df0b, #35DF0B);

Monochromatic scale

Palettes built from #c2df0b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2df0b in the Color Lab