Skip to content

#ceaf12

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

RGB
206, 175, 18
HSL
50°, 84%, 44%
CMYK
0, 15, 91, 19
Luminance
0.4383

Every format

HEX#ceaf12
RGBrgb(206, 175, 18)
HSLhsl(50, 84%, 44%)
CMYKcmyk(0%, 15%, 91%, 19%)
LABlab(72.1 -2.3 72.3)
LCHlch(72.1 72.3 91.8)
OKLCHoklch(0.759 0.153 95.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green68.6%
Blue7.1%

CMYK percentages

Cyan0.0%
Magenta15.0%
Yellow91.3%
Key (black)19.2%

Color previews

#ceaf12 text on a black background

contrast 9.77:1

Card sample

#ceaf12 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceaf12

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceaf12 in the Color Lab