Skip to content

#eccf84

a light, vivid yellow · warm · closest name: khaki

RGB
236, 207, 132
HSL
43°, 73%, 72%
CMYK
0, 12, 44, 8
Luminance
0.6412

Every format

HEX#eccf84
RGBrgb(236, 207, 132)
HSLhsl(43, 73%, 72%)
CMYKcmyk(0%, 12%, 44%, 8%)
LABlab(84.0 0.3 40.9)
LCHlch(84.0 40.9 89.6)
OKLCHoklch(0.863 0.100 89.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccf84 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#eccf84 on black: 13.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green81.2%
Blue51.8%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow44.1%
Key (black)7.5%

Color previews

#eccf84 text on a black background

contrast 13.82:1

Card sample

#eccf84 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf84

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf84 in the Color Lab