Skip to content

#cecf06

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

RGB
206, 207, 6
HSL
60°, 94%, 42%
CMYK
1, 0, 97, 19
Luminance
0.5776

Every format

HEX#cecf06
RGBrgb(206, 207, 6)
HSLhsl(60, 94%, 42%)
CMYKcmyk(1%, 0%, 97%, 19%)
LABlab(80.6 -18.8 80.1)
LCHlch(80.6 82.3 103.2)
OKLCHoklch(0.826 0.180 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecf06 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cecf06 on black: 12.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green81.2%
Blue2.4%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow97.1%
Key (black)18.8%

Color previews

#cecf06 text on a black background

contrast 12.55:1

Card sample

#cecf06 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 207, 6, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 207, 6, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cecf06;
background: linear-gradient(135deg, #cecf06, #48CF06);

Monochromatic scale

Palettes built from #cecf06

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf06 in the Color Lab