Skip to content

#eccf80

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

RGB
236, 207, 128
HSL
44°, 74%, 71%
CMYK
0, 12, 46, 8
Luminance
0.6402

Every format

HEX#eccf80
RGBrgb(236, 207, 128)
HSLhsl(44, 74%, 71%)
CMYKcmyk(0%, 12%, 46%, 8%)
LABlab(84.0 -0.1 42.9)
LCHlch(84.0 42.9 90.1)
OKLCHoklch(0.862 0.104 90.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue50.2%

CMYK percentages

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

Color previews

#eccf80 text on a black background

contrast 13.80:1

Card sample

#eccf80 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf80 in the Color Lab