Skip to content

#eccf09

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

RGB
236, 207, 9
HSL
52°, 93%, 48%
CMYK
0, 12, 96, 8
Luminance
0.6248

Every format

HEX#eccf09
RGBrgb(236, 207, 9)
HSLhsl(52, 93%, 48%)
CMYKcmyk(0%, 12%, 96%, 8%)
LABlab(83.2 -5.9 82.8)
LCHlch(83.2 83.0 94.1)
OKLCHoklch(0.853 0.176 98.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue3.5%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow96.2%
Key (black)7.5%

Color previews

#eccf09 text on a black background

contrast 13.50:1

Card sample

#eccf09 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf09

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf09 in the Color Lab