Skip to content

#eccf5d

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

RGB
236, 207, 93
HSL
48°, 79%, 65%
CMYK
0, 12, 61, 8
Luminance
0.6325

Every format

HEX#eccf5d
RGBrgb(236, 207, 93)
HSLhsl(48, 79%, 65%)
CMYKcmyk(0%, 12%, 61%, 8%)
LABlab(83.6 -3.0 59.0)
LCHlch(83.6 59.1 92.9)
OKLCHoklch(0.857 0.136 95.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow60.6%
Key (black)7.5%

Color previews

#eccf5d text on a black background

contrast 13.65:1

Card sample

#eccf5d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf5d in the Color Lab