Skip to content

#eccf4b

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

RGB
236, 207, 75
HSL
49°, 81%, 61%
CMYK
0, 12, 68, 8
Luminance
0.6297

Every format

HEX#eccf4b
RGBrgb(236, 207, 75)
HSLhsl(49, 81%, 61%)
CMYKcmyk(0%, 12%, 68%, 8%)
LABlab(83.4 -4.0 66.5)
LCHlch(83.4 66.6 93.5)
OKLCHoklch(0.856 0.150 96.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccf4b on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#eccf4b on black: 13.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green81.2%
Blue29.4%

CMYK percentages

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

Color previews

#eccf4b text on a black background

contrast 13.59:1

Card sample

#eccf4b text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf4b in the Color Lab