Skip to content
Vectorlight.net

#ecae1b

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

HEX
#ecae1b
RGB
236, 174, 27
HSL
42.2°, 84.62%, 51.57%
OKLCH
0.79 0.16 81.75
Names
—
Lists

Codes

FormatValue
HEX#ecae1b
RGBrgb(236 174 27)
HSLhsl(42.2 84.62% 51.57%)
OKLCHoklch(0.79 0.16 81.75)
CMYKcmyk(0% 26.27% 88.56% 7.45%)
Android#ffecae1b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.97:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.63: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="#ecae1b"
Gradient stop
<stop stop-color="#ecae1b"/>
CSS variable + fill
:root { --c: #ecae1b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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