Skip to content

#eccf59

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

RGB
236, 207, 89
HSL
48°, 80%, 64%
CMYK
0, 12, 62, 8
Luminance
0.6318

Every format

HEX#eccf59
RGBrgb(236, 207, 89)
HSLhsl(48, 80%, 64%)
CMYKcmyk(0%, 12%, 62%, 8%)
LABlab(83.5 -3.2 60.7)
LCHlch(83.5 60.8 93.0)
OKLCHoklch(0.857 0.140 95.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue34.9%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow62.3%
Key (black)7.5%

Color previews

#eccf59 text on a black background

contrast 13.64:1

Card sample

#eccf59 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf59

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf59 in the Color Lab