Skip to content

#eccf30

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

RGB
236, 207, 48
HSL
51°, 83%, 56%
CMYK
0, 12, 80, 8
Luminance
0.6267

Every format

HEX#eccf30
RGBrgb(236, 207, 48)
HSLhsl(51, 83%, 56%)
CMYKcmyk(0%, 12%, 80%, 8%)
LABlab(83.3 -5.2 75.6)
LCHlch(83.3 75.8 93.9)
OKLCHoklch(0.854 0.165 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue18.8%

CMYK percentages

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

Color previews

#eccf30 text on a black background

contrast 13.53:1

Card sample

#eccf30 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf30 in the Color Lab