Skip to content

#ceba28

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

RGB
206, 186, 40
HSL
53°, 68%, 48%
CMYK
0, 10, 81, 19
Luminance
0.4839

Every format

HEX#ceba28
RGBrgb(206, 186, 40)
HSLhsl(53, 68%, 48%)
CMYKcmyk(0%, 10%, 81%, 19%)
LABlab(75.1 -7.5 69.7)
LCHlch(75.1 70.1 96.2)
OKLCHoklch(0.783 0.153 100.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green72.9%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow80.6%
Key (black)19.2%

Color previews

#ceba28 text on a black background

contrast 10.68:1

Card sample

#ceba28 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba28 in the Color Lab