Skip to content

#c3da21

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

RGB
195, 218, 33
HSL
68°, 74%, 49%
CMYK
11, 0, 85, 15
Luminance
0.6185

Every format

HEX#c3da21
RGBrgb(195, 218, 33)
HSLhsl(68, 74%, 49%)
CMYKcmyk(11%, 0%, 85%, 15%)
LABlab(82.8 -28.3 77.7)
LCHlch(82.8 82.7 110.0)
OKLCHoklch(0.842 0.188 117.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c3da21 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#c3da21 on black: 13.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green85.5%
Blue12.9%

CMYK percentages

Cyan10.6%
Magenta0.0%
Yellow84.9%
Key (black)14.5%

Color previews

#c3da21 text on a black background

contrast 13.37:1

Card sample

#c3da21 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(195, 218, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 218, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c3da21;
background: linear-gradient(135deg, #c3da21, #48DA21);

Monochromatic scale

Palettes built from #c3da21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c3da21 in the Color Lab