Skip to content

#eccf3a

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

RGB
236, 207, 58
HSL
50°, 82%, 58%
CMYK
0, 12, 75, 8
Luminance
0.6276

Every format

HEX#eccf3a
RGBrgb(236, 207, 58)
HSLhsl(50, 82%, 58%)
CMYKcmyk(0%, 12%, 75%, 8%)
LABlab(83.3 -4.8 72.6)
LCHlch(83.3 72.7 93.8)
OKLCHoklch(0.855 0.160 97.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue22.7%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow75.4%
Key (black)7.5%

Color previews

#eccf3a text on a black background

contrast 13.55:1

Card sample

#eccf3a text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf3a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf3a in the Color Lab