Skip to content

#ceab48

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

RGB
206, 171, 72
HSL
44°, 58%, 55%
CMYK
0, 17, 65, 19
Luminance
0.4272

Every format

HEX#ceab48
RGBrgb(206, 171, 72)
HSLhsl(44, 58%, 55%)
CMYKcmyk(0%, 17%, 65%, 19%)
LABlab(71.4 1.8 54.2)
LCHlch(71.4 54.2 88.1)
OKLCHoklch(0.754 0.123 89.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green67.1%
Blue28.2%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow65.0%
Key (black)19.2%

Color previews

#ceab48 text on a black background

contrast 9.54:1

Card sample

#ceab48 text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 171, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 171, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceab48;
background: linear-gradient(135deg, #ceab48, #98CE48);

Monochromatic scale

Palettes built from #ceab48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceab48 in the Color Lab