Skip to content

#eccf7f

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

RGB
236, 207, 127
HSL
44°, 74%, 71%
CMYK
0, 12, 46, 8
Luminance
0.6399

Every format

HEX#eccf7f
RGBrgb(236, 207, 127)
HSLhsl(44, 74%, 71%)
CMYKcmyk(0%, 12%, 46%, 8%)
LABlab(84.0 -0.2 43.3)
LCHlch(84.0 43.3 90.3)
OKLCHoklch(0.862 0.105 90.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eccf7f on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#eccf7f on black: 13.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green81.2%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow46.2%
Key (black)7.5%

Color previews

#eccf7f text on a black background

contrast 13.80:1

Card sample

#eccf7f text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf7f in the Color Lab