Skip to content

#ceac3b

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

RGB
206, 172, 59
HSL
46°, 60%, 52%
CMYK
0, 17, 71, 19
Luminance
0.4294

Every format

HEX#ceac3b
RGBrgb(206, 172, 59)
HSLhsl(46, 60%, 52%)
CMYKcmyk(0%, 17%, 71%, 19%)
LABlab(71.5 0.6 59.9)
LCHlch(71.5 59.9 89.5)
OKLCHoklch(0.755 0.133 91.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceac3b on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#ceac3b on black: 9.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green67.5%
Blue23.1%

CMYK percentages

Cyan0.0%
Magenta16.5%
Yellow71.4%
Key (black)19.2%

Color previews

#ceac3b text on a black background

contrast 9.59:1

Card sample

#ceac3b text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceac3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceac3b in the Color Lab