Skip to content
Vectorlight.net

#ecaf3b

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ecaf3b
RGB
236, 175, 59
HSL
39.32°, 82.33%, 57.84%
OKLCH
0.79 0.14 79.35
Names
—
Lists

Codes

FormatValue
HEX#ecaf3b
RGBrgb(236 175 59)
HSLhsl(39.32 82.33% 57.84%)
OKLCHoklch(0.79 0.14 79.35)
CMYKcmyk(0% 25.85% 75% 7.45%)
Android#ffecaf3b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.95:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.76:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ecaf3b"
Gradient stop
<stop stop-color="#ecaf3b"/>
CSS variable + fill
:root { --c: #ecaf3b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ecaf3b;
background-color: #ecaf3b;
bg-[#ecaf3b]