Skip to content

#cecf91

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

RGB
206, 207, 145
HSL
61°, 39%, 69%
CMYK
1, 0, 30, 19
Luminance
0.5979

Every format

HEX#cecf91
RGBrgb(206, 207, 145)
HSLhsl(61, 39%, 69%)
CMYKcmyk(1%, 0%, 30%, 19%)
LABlab(81.7 -10.0 30.8)
LCHlch(81.7 32.4 108.0)
OKLCHoklch(0.839 0.081 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecf91 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cecf91 on black: 12.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green81.2%
Blue56.9%

CMYK percentages

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

Color previews

#cecf91 text on a black background

contrast 12.96:1

Card sample

#cecf91 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecf91

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf91 in the Color Lab