Skip to content

#ceab2d

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

RGB
206, 171, 45
HSL
47°, 64%, 49%
CMYK
0, 17, 78, 19
Luminance
0.4244

Every format

HEX#ceab2d
RGBrgb(206, 171, 45)
HSLhsl(47, 64%, 49%)
CMYKcmyk(0%, 17%, 78%, 19%)
LABlab(71.2 0.5 64.7)
LCHlch(71.2 64.7 89.6)
OKLCHoklch(0.752 0.141 92.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceab2d on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#ceab2d on black: 9.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green67.1%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow78.2%
Key (black)19.2%

Color previews

#ceab2d text on a black background

contrast 9.49:1

Card sample

#ceab2d text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 171, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 171, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceab2d;
background: linear-gradient(135deg, #ceab2d, #86CE2D);

Monochromatic scale

Palettes built from #ceab2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceab2d in the Color Lab