Skip to content

#cecf4f

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

RGB
206, 207, 79
HSL
61°, 57%, 56%
CMYK
1, 0, 62, 19
Luminance
0.5831

Every format

HEX#cecf4f
RGBrgb(206, 207, 79)
HSLhsl(61, 57%, 56%)
CMYKcmyk(1%, 0%, 62%, 19%)
LABlab(80.9 -16.3 61.4)
LCHlch(80.9 63.5 104.9)
OKLCHoklch(0.830 0.148 109.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green81.2%
Blue31.0%

CMYK percentages

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

Color previews

#cecf4f text on a black background

contrast 12.66:1

Card sample

#cecf4f text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecf4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecf4f in the Color Lab