Skip to content

#c2db30

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

RGB
194, 219, 48
HSL
69°, 70%, 52%
CMYK
11, 0, 78, 14
Luminance
0.6235

Every format

HEX#c2db30
RGBrgb(194, 219, 48)
HSLhsl(69, 70%, 52%)
CMYKcmyk(11%, 0%, 78%, 14%)
LABlab(83.1 -28.7 74.2)
LCHlch(83.1 79.5 111.1)
OKLCHoklch(0.845 0.184 118.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2db30 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#c2db30 on black: 13.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green85.9%
Blue18.8%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow78.1%
Key (black)14.1%

Color previews

#c2db30 text on a black background

contrast 13.47:1

Card sample

#c2db30 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2db30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2db30 in the Color Lab