Skip to content

#cecf3d

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

RGB
206, 207, 61
HSL
60°, 60%, 53%
CMYK
1, 0, 71, 19
Luminance
0.5808

Every format

HEX#cecf3d
RGBrgb(206, 207, 61)
HSLhsl(60, 60%, 53%)
CMYKcmyk(1%, 0%, 71%, 19%)
LABlab(80.8 -17.3 68.2)
LCHlch(80.8 70.4 104.3)
OKLCHoklch(0.828 0.161 109.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green81.2%
Blue23.9%

CMYK percentages

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

Color previews

#cecf3d text on a black background

contrast 12.62:1

Card sample

#cecf3d text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecf3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf3d in the Color Lab