Skip to content

#ceac49

a balanced, vivid yellow · warm · closest name: peru

RGB
206, 172, 73
HSL
45°, 58%, 55%
CMYK
0, 17, 65, 19
Luminance
0.4311

Every format

HEX#ceac49
RGBrgb(206, 172, 73)
HSLhsl(45, 58%, 55%)
CMYKcmyk(0%, 17%, 65%, 19%)
LABlab(71.6 1.3 54.0)
LCHlch(71.6 54.0 88.6)
OKLCHoklch(0.756 0.123 90.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceac49 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#ceac49 on black: 9.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green67.5%
Blue28.6%

CMYK percentages

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

Color previews

#ceac49 text on a black background

contrast 9.62:1

Card sample

#ceac49 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceac49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceac49 in the Color Lab