Skip to content

#ceaf17

a dark, electric yellow · cool · closest name: gold

RGB
206, 175, 23
HSL
50°, 80%, 45%
CMYK
0, 15, 89, 19
Luminance
0.4384

Every format

HEX#ceaf17
RGBrgb(206, 175, 23)
HSLhsl(50, 80%, 45%)
CMYKcmyk(0%, 15%, 89%, 19%)
LABlab(72.1 -2.2 71.4)
LCHlch(72.1 71.4 91.8)
OKLCHoklch(0.759 0.152 95.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceaf17 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#ceaf17 on black: 9.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green68.6%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta15.0%
Yellow88.8%
Key (black)19.2%

Color previews

#ceaf17 text on a black background

contrast 9.77:1

Card sample

#ceaf17 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceaf17

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceaf17 in the Color Lab