Skip to content
Vectorlight.net

#ecc90f

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

HEX
#ecc90f
RGB
236, 201, 15
HSL
50.5°, 88.05%, 49.22%
OKLCH
0.84 0.17 96.14
Names
—
Lists

Codes

FormatValue
HEX#ecc90f
RGBrgb(236 201 15)
HSLhsl(50.5 88.05% 49.22%)
OKLCHoklch(0.84 0.17 96.14)
CMYKcmyk(0% 14.83% 93.64% 7.45%)
Android#ffecc90f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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