Skip to content
Vectorlight.net

#ecf270

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

HEX
#ecf270
RGB
236, 242, 112
HSL
62.77°, 83.33%, 69.41%
OKLCH
0.93 0.15 111.43
Names
—
Lists

Codes

FormatValue
HEX#ecf270
RGBrgb(236 242 112)
HSLhsl(62.77 83.33% 69.41%)
OKLCHoklch(0.93 0.15 111.43)
CMYKcmyk(2.48% 0% 53.72% 5.1%)
Android#ffecf270

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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