Skip to content

#eccf5b

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

RGB
236, 207, 91
HSL
48°, 79%, 64%
CMYK
0, 12, 61, 8
Luminance
0.6321

Every format

HEX#eccf5b
RGBrgb(236, 207, 91)
HSLhsl(48, 79%, 64%)
CMYKcmyk(0%, 12%, 61%, 8%)
LABlab(83.6 -3.1 59.9)
LCHlch(83.6 60.0 93.0)
OKLCHoklch(0.857 0.138 95.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue35.7%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow61.4%
Key (black)7.5%

Color previews

#eccf5b text on a black background

contrast 13.64:1

Card sample

#eccf5b text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf5b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf5b in the Color Lab