Skip to content

#cea621

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

RGB
206, 166, 33
HSL
46°, 72%, 47%
CMYK
0, 19, 84, 19
Luminance
0.4050

Every format

HEX#cea621
RGBrgb(206, 166, 33)
HSLhsl(46, 72%, 47%)
CMYKcmyk(0%, 19%, 84%, 19%)
LABlab(69.8 2.8 67.2)
LCHlch(69.8 67.2 87.7)
OKLCHoklch(0.741 0.144 90.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cea621 on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#cea621 on black: 9.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green65.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta19.4%
Yellow84.0%
Key (black)19.2%

Color previews

#cea621 text on a black background

contrast 9.10:1

Card sample

#cea621 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cea621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cea621 in the Color Lab