Skip to content

#ceac2d

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

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

Every format

HEX#ceac2d
RGBrgb(206, 172, 45)
HSLhsl(47, 64%, 49%)
CMYKcmyk(0%, 17%, 78%, 19%)
LABlab(71.4 -0.1 64.9)
LCHlch(71.4 64.9 90.0)
OKLCHoklch(0.754 0.141 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceac2d on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#ceac2d on black: 9.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green67.5%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta16.5%
Yellow78.2%
Key (black)19.2%

Color previews

#ceac2d text on a black background

contrast 9.56:1

Card sample

#ceac2d text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceac2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceac2d in the Color Lab