Skip to content

#eccb79

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

RGB
236, 203, 121
HSL
43°, 75%, 70%
CMYK
0, 14, 49, 8
Luminance
0.6193

Every format

HEX#eccb79
RGBrgb(236, 203, 121)
HSLhsl(43, 75%, 70%)
CMYKcmyk(0%, 14%, 49%, 8%)
LABlab(82.9 1.3 45.0)
LCHlch(82.9 45.0 88.3)
OKLCHoklch(0.853 0.108 88.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccb79 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#eccb79 on black: 13.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green79.6%
Blue47.5%

CMYK percentages

Cyan0.0%
Magenta14.0%
Yellow48.7%
Key (black)7.5%

Color previews

#eccb79 text on a black background

contrast 13.39:1

Card sample

#eccb79 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccb79

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccb79 in the Color Lab