Skip to content

#eccf70

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

RGB
236, 207, 112
HSL
46°, 77%, 68%
CMYK
0, 12, 53, 8
Luminance
0.6363

Every format

HEX#eccf70
RGBrgb(236, 207, 112)
HSLhsl(46, 77%, 68%)
CMYKcmyk(0%, 12%, 53%, 8%)
LABlab(83.8 -1.5 50.5)
LCHlch(83.8 50.5 91.7)
OKLCHoklch(0.860 0.119 92.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue43.9%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow52.5%
Key (black)7.5%

Color previews

#eccf70 text on a black background

contrast 13.73:1

Card sample

#eccf70 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf70

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf70 in the Color Lab