Skip to content

#eccf03

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

RGB
236, 207, 3
HSL
53°, 98%, 47%
CMYK
0, 12, 99, 8
Luminance
0.6247

Every format

HEX#eccf03
RGBrgb(236, 207, 3)
HSLhsl(53, 98%, 47%)
CMYKcmyk(0%, 12%, 99%, 8%)
LABlab(83.2 -6.0 83.4)
LCHlch(83.2 83.6 94.1)
OKLCHoklch(0.853 0.176 99.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue1.2%

CMYK percentages

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

Color previews

#eccf03 text on a black background

contrast 13.49:1

Card sample

#eccf03 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf03

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf03 in the Color Lab