Skip to content

#cecf92

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

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

Every format

HEX#cecf92
RGBrgb(206, 207, 146)
HSLhsl(61, 39%, 69%)
CMYKcmyk(1%, 0%, 30%, 19%)
LABlab(81.7 -9.9 30.3)
LCHlch(81.7 31.9 108.1)
OKLCHoklch(0.839 0.080 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green81.2%
Blue57.3%

CMYK percentages

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

Color previews

#cecf92 text on a black background

contrast 12.96:1

Card sample

#cecf92 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecf92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf92 in the Color Lab