Skip to content

#eccf27

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

RGB
236, 207, 39
HSL
51°, 84%, 54%
CMYK
0, 12, 84, 8
Luminance
0.6260

Every format

HEX#eccf27
RGBrgb(236, 207, 39)
HSLhsl(51, 84%, 54%)
CMYKcmyk(0%, 12%, 84%, 8%)
LABlab(83.2 -5.4 78.0)
LCHlch(83.2 78.2 94.0)
OKLCHoklch(0.854 0.169 98.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue15.3%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow83.5%
Key (black)7.5%

Color previews

#eccf27 text on a black background

contrast 13.52:1

Card sample

#eccf27 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf27

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf27 in the Color Lab