Skip to content

#cecf49

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

RGB
206, 207, 73
HSL
60°, 58%, 55%
CMYK
1, 0, 65, 19
Luminance
0.5823

Every format

HEX#cecf49
RGBrgb(206, 207, 73)
HSLhsl(60, 58%, 55%)
CMYKcmyk(1%, 0%, 65%, 19%)
LABlab(80.9 -16.7 63.8)
LCHlch(80.9 66.0 104.7)
OKLCHoklch(0.829 0.153 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green81.2%
Blue28.6%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#cecf49 text on a black background

contrast 12.65:1

Card sample

#cecf49 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf49 in the Color Lab