Skip to content

#cede21

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

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

Every format

HEX#cede21
RGBrgb(206, 222, 33)
HSLhsl(65, 74%, 50%)
CMYKcmyk(7%, 0%, 85%, 13%)
LABlab(84.7 -25.6 79.6)
LCHlch(84.7 83.6 107.8)
OKLCHoklch(0.860 0.188 115.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cede21 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#cede21 on black: 14.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green87.1%
Blue12.9%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow85.1%
Key (black)12.9%

Color previews

#cede21 text on a black background

contrast 14.09:1

Card sample

#cede21 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cede21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cede21 in the Color Lab