Skip to content

#eccf18

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

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

Every format

HEX#eccf18
RGBrgb(236, 207, 24)
HSLhsl(52, 85%, 51%)
CMYKcmyk(0%, 12%, 90%, 8%)
LABlab(83.2 -5.7 81.0)
LCHlch(83.2 81.2 94.0)
OKLCHoklch(0.853 0.173 98.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue9.4%

CMYK percentages

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

Color previews

#eccf18 text on a black background

contrast 13.50:1

Card sample

#eccf18 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf18

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf18 in the Color Lab