Skip to content

#cecf3f

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

RGB
206, 207, 63
HSL
60°, 60%, 53%
CMYK
1, 0, 70, 19
Luminance
0.5811

Every format

HEX#cecf3f
RGBrgb(206, 207, 63)
HSLhsl(60, 60%, 53%)
CMYKcmyk(1%, 0%, 70%, 19%)
LABlab(80.8 -17.2 67.5)
LCHlch(80.8 69.7 104.3)
OKLCHoklch(0.829 0.160 109.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green81.2%
Blue24.7%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow69.6%
Key (black)18.8%

Color previews

#cecf3f text on a black background

contrast 12.62:1

Card sample

#cecf3f text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecf3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf3f in the Color Lab