Skip to content

#eccf68

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

RGB
236, 207, 104
HSL
47°, 78%, 67%
CMYK
0, 12, 56, 8
Luminance
0.6346

Every format

HEX#eccf68
RGBrgb(236, 207, 104)
HSLhsl(47, 78%, 67%)
CMYKcmyk(0%, 12%, 56%, 8%)
LABlab(83.7 -2.2 54.1)
LCHlch(83.7 54.2 92.3)
OKLCHoklch(0.859 0.127 93.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccf68 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#eccf68 on black: 13.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green81.2%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow55.9%
Key (black)7.5%

Color previews

#eccf68 text on a black background

contrast 13.69:1

Card sample

#eccf68 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf68 in the Color Lab