Skip to content

#cecf3c

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

RGB
206, 207, 60
HSL
60°, 61%, 52%
CMYK
1, 0, 71, 19
Luminance
0.5807

Every format

HEX#cecf3c
RGBrgb(206, 207, 60)
HSLhsl(60, 61%, 52%)
CMYKcmyk(1%, 0%, 71%, 19%)
LABlab(80.8 -17.4 68.6)
LCHlch(80.8 70.7 104.2)
OKLCHoklch(0.828 0.161 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecf3c on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cecf3c on black: 12.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green81.2%
Blue23.5%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow71.0%
Key (black)18.8%

Color previews

#cecf3c text on a black background

contrast 12.61:1

Card sample

#cecf3c text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecf3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf3c in the Color Lab