Skip to content

#ceac2c

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

RGB
206, 172, 44
HSL
47°, 65%, 49%
CMYK
0, 17, 79, 19
Luminance
0.4281

Every format

HEX#ceac2c
RGBrgb(206, 172, 44)
HSLhsl(47, 65%, 49%)
CMYKcmyk(0%, 17%, 79%, 19%)
LABlab(71.4 -0.1 65.3)
LCHlch(71.4 65.3 90.1)
OKLCHoklch(0.754 0.142 93.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green67.5%
Blue17.3%

CMYK percentages

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

Color previews

#ceac2c text on a black background

contrast 9.56:1

Card sample

#ceac2c text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceac2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceac2c in the Color Lab