Skip to content

#ceba21

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

RGB
206, 186, 33
HSL
53°, 72%, 47%
CMYK
0, 10, 84, 19
Luminance
0.4835

Every format

HEX#ceba21
RGBrgb(206, 186, 33)
HSLhsl(53, 72%, 47%)
CMYKcmyk(0%, 10%, 84%, 19%)
LABlab(75.0 -7.7 71.5)
LCHlch(75.0 72.0 96.2)
OKLCHoklch(0.782 0.156 101.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceba21 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#ceba21 on black: 10.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow84.0%
Key (black)19.2%

Color previews

#ceba21 text on a black background

contrast 10.67:1

Card sample

#ceba21 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba21 in the Color Lab