Skip to content

#ceac56

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

RGB
206, 172, 86
HSL
43°, 55%, 57%
CMYK
0, 17, 58, 19
Luminance
0.4330

Every format

HEX#ceac56
RGBrgb(206, 172, 86)
HSLhsl(43, 55%, 57%)
CMYKcmyk(0%, 17%, 58%, 19%)
LABlab(71.8 2.2 48.1)
LCHlch(71.8 48.2 87.3)
OKLCHoklch(0.757 0.112 88.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceac56 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#ceac56 on black: 9.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green67.5%
Blue33.7%

CMYK percentages

Cyan0.0%
Magenta16.5%
Yellow58.3%
Key (black)19.2%

Color previews

#ceac56 text on a black background

contrast 9.66:1

Card sample

#ceac56 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceac56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceac56 in the Color Lab