Skip to content

#ceaf2d

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

RGB
206, 175, 45
HSL
48°, 64%, 49%
CMYK
0, 15, 78, 19
Luminance
0.4397

Every format

HEX#ceaf2d
RGBrgb(206, 175, 45)
HSLhsl(48, 64%, 49%)
CMYKcmyk(0%, 15%, 78%, 19%)
LABlab(72.2 -1.6 65.6)
LCHlch(72.2 65.7 91.4)
OKLCHoklch(0.760 0.143 94.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceaf2d on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#ceaf2d on black: 9.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green68.6%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta15.0%
Yellow78.2%
Key (black)19.2%

Color previews

#ceaf2d text on a black background

contrast 9.79:1

Card sample

#ceaf2d text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 175, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 175, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceaf2d;
background: linear-gradient(135deg, #ceaf2d, #82CE2D);

Monochromatic scale

Palettes built from #ceaf2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceaf2d in the Color Lab