Skip to content

#cec080

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

RGB
206, 192, 128
HSL
49°, 44%, 66%
CMYK
0, 7, 38, 19
Luminance
0.5238

Every format

HEX#cec080
RGBrgb(206, 192, 128)
HSLhsl(49, 44%, 66%)
CMYKcmyk(0%, 7%, 38%, 19%)
LABlab(77.5 -4.3 34.0)
LCHlch(77.5 34.3 97.2)
OKLCHoklch(0.805 0.085 97.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec080 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#cec080 on black: 11.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green75.3%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow37.9%
Key (black)19.2%

Color previews

#cec080 text on a black background

contrast 11.48:1

Card sample

#cec080 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec080 in the Color Lab