Skip to content

#eccf64

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

RGB
236, 207, 100
HSL
47°, 78%, 66%
CMYK
0, 12, 58, 8
Luminance
0.6338

Every format

HEX#eccf64
RGBrgb(236, 207, 100)
HSLhsl(47, 78%, 66%)
CMYKcmyk(0%, 12%, 58%, 8%)
LABlab(83.6 -2.5 55.9)
LCHlch(83.6 56.0 92.5)
OKLCHoklch(0.858 0.130 94.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow57.6%
Key (black)7.5%

Color previews

#eccf64 text on a black background

contrast 13.68:1

Card sample

#eccf64 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf64 in the Color Lab