Skip to content

#cecf4d

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

RGB
206, 207, 77
HSL
61°, 58%, 56%
CMYK
1, 0, 63, 19
Luminance
0.5828

Every format

HEX#cecf4d
RGBrgb(206, 207, 77)
HSLhsl(61, 58%, 56%)
CMYKcmyk(1%, 0%, 63%, 19%)
LABlab(80.9 -16.4 62.2)
LCHlch(80.9 64.4 104.8)
OKLCHoklch(0.830 0.150 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green81.2%
Blue30.2%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow62.8%
Key (black)18.8%

Color previews

#cecf4d text on a black background

contrast 12.66:1

Card sample

#cecf4d text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecf4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf4d in the Color Lab