Skip to content

#eccf24

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

RGB
236, 207, 36
HSL
51°, 84%, 53%
CMYK
0, 12, 85, 8
Luminance
0.6259

Every format

HEX#eccf24
RGBrgb(236, 207, 36)
HSLhsl(51, 84%, 53%)
CMYKcmyk(0%, 12%, 85%, 8%)
LABlab(83.2 -5.5 78.7)
LCHlch(83.2 78.9 94.0)
OKLCHoklch(0.854 0.170 98.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue14.1%

CMYK percentages

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

Color previews

#eccf24 text on a black background

contrast 13.52:1

Card sample

#eccf24 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf24

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf24 in the Color Lab