Skip to content

#cecf7d

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

RGB
206, 207, 125
HSL
61°, 46%, 65%
CMYK
1, 0, 40, 19
Luminance
0.5923

Every format

HEX#cecf7d
RGBrgb(206, 207, 125)
HSLhsl(61, 46%, 65%)
CMYKcmyk(1%, 0%, 40%, 19%)
LABlab(81.4 -12.4 40.6)
LCHlch(81.4 42.4 106.9)
OKLCHoklch(0.836 0.104 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecf7d on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#cecf7d on black: 12.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green81.2%
Blue49.0%

CMYK percentages

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

Color previews

#cecf7d text on a black background

contrast 12.85:1

Card sample

#cecf7d text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecf7d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf7d in the Color Lab