Skip to content

#ecaf2c

a balanced, electric yellow · warm · closest name: orange

RGB
236, 175, 44
HSL
41°, 84%, 55%
CMYK
0, 26, 81, 8
Luminance
0.4867

Every format

HEX#ecaf2c
RGBrgb(236, 175, 44)
HSLhsl(41, 84%, 55%)
CMYKcmyk(0%, 26%, 81%, 8%)
LABlab(75.3 11.3 69.8)
LCHlch(75.3 70.7 80.8)
OKLCHoklch(0.791 0.152 81.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecaf2c on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#ecaf2c on black: 10.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green68.6%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta25.8%
Yellow81.4%
Key (black)7.5%

Color previews

#ecaf2c text on a black background

contrast 10.73:1

Card sample

#ecaf2c text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecaf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecaf2c in the Color Lab