Skip to content

#eccf2d

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

RGB
236, 207, 45
HSL
51°, 83%, 55%
CMYK
0, 12, 81, 8
Luminance
0.6265

Every format

HEX#eccf2d
RGBrgb(236, 207, 45)
HSLhsl(51, 83%, 55%)
CMYKcmyk(0%, 12%, 81%, 8%)
LABlab(83.3 -5.3 76.5)
LCHlch(83.3 76.6 93.9)
OKLCHoklch(0.854 0.166 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow80.9%
Key (black)7.5%

Color previews

#eccf2d text on a black background

contrast 13.53:1

Card sample

#eccf2d text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf2d in the Color Lab