Skip to content

#cedd21

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

RGB
206, 221, 33
HSL
65°, 74%, 50%
CMYK
7, 0, 85, 13
Luminance
0.6494

Every format

HEX#cedd21
RGBrgb(206, 221, 33)
HSLhsl(65, 74%, 50%)
CMYKcmyk(7%, 0%, 85%, 13%)
LABlab(84.5 -25.1 79.3)
LCHlch(84.5 83.2 107.6)
OKLCHoklch(0.857 0.187 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cedd21 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#cedd21 on black: 13.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green86.7%
Blue12.9%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow85.1%
Key (black)13.3%

Color previews

#cedd21 text on a black background

contrast 13.99:1

Card sample

#cedd21 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 221, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 221, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cedd21;
background: linear-gradient(135deg, #cedd21, #51DD21);

Monochromatic scale

Palettes built from #cedd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cedd21 in the Color Lab