Skip to content

#eccf78

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

RGB
236, 207, 120
HSL
45°, 75%, 70%
CMYK
0, 12, 49, 8
Luminance
0.6381

Every format

HEX#eccf78
RGBrgb(236, 207, 120)
HSLhsl(45, 75%, 70%)
CMYKcmyk(0%, 12%, 49%, 8%)
LABlab(83.9 -0.8 46.7)
LCHlch(83.9 46.7 91.0)
OKLCHoklch(0.861 0.112 91.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue47.1%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow49.2%
Key (black)7.5%

Color previews

#eccf78 text on a black background

contrast 13.76:1

Card sample

#eccf78 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf78 in the Color Lab