Skip to content

#eccf16

a balanced, electric yellow · cool · closest name: gold

RGB
236, 207, 22
HSL
52°, 85%, 51%
CMYK
0, 12, 91, 8
Luminance
0.6252

Every format

HEX#eccf16
RGBrgb(236, 207, 22)
HSLhsl(52, 85%, 51%)
CMYKcmyk(0%, 12%, 91%, 8%)
LABlab(83.2 -5.8 81.3)
LCHlch(83.2 81.5 94.1)
OKLCHoklch(0.853 0.173 98.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccf16 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#eccf16 on black: 13.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green81.2%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow90.7%
Key (black)7.5%

Color previews

#eccf16 text on a black background

contrast 13.50:1

Card sample

#eccf16 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf16

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf16 in the Color Lab