Skip to content

#eccf82

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

RGB
236, 207, 130
HSL
44°, 74%, 72%
CMYK
0, 12, 45, 8
Luminance
0.6407

Every format

HEX#eccf82
RGBrgb(236, 207, 130)
HSLhsl(44, 74%, 72%)
CMYKcmyk(0%, 12%, 45%, 8%)
LABlab(84.0 0.1 41.9)
LCHlch(84.0 41.9 89.9)
OKLCHoklch(0.862 0.102 89.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue51.0%

CMYK percentages

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

Color previews

#eccf82 text on a black background

contrast 13.81:1

Card sample

#eccf82 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf82 in the Color Lab