Skip to content

#eccf75

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

RGB
236, 207, 117
HSL
45°, 76%, 69%
CMYK
0, 12, 50, 8
Luminance
0.6374

Every format

HEX#eccf75
RGBrgb(236, 207, 117)
HSLhsl(45, 76%, 69%)
CMYKcmyk(0%, 12%, 50%, 8%)
LABlab(83.8 -1.1 48.1)
LCHlch(83.8 48.1 91.3)
OKLCHoklch(0.860 0.115 92.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green81.2%
Blue45.9%

CMYK percentages

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

Color previews

#eccf75 text on a black background

contrast 13.75:1

Card sample

#eccf75 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eccf75

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eccf75 in the Color Lab