Skip to content

#eccf66

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

RGB
236, 207, 102
HSL
47°, 78%, 66%
CMYK
0, 12, 57, 8
Luminance
0.6342

Every format

HEX#eccf66
RGBrgb(236, 207, 102)
HSLhsl(47, 78%, 66%)
CMYKcmyk(0%, 12%, 57%, 8%)
LABlab(83.7 -2.3 55.0)
LCHlch(83.7 55.1 92.4)
OKLCHoklch(0.858 0.129 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccf66 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#eccf66 on black: 13.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green81.2%
Blue40.0%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow56.8%
Key (black)7.5%

Color previews

#eccf66 text on a black background

contrast 13.68:1

Card sample

#eccf66 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf66

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf66 in the Color Lab