Skip to content
Vectorlight.net

#ebac2a

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

HEX
#ebac2a
RGB
235, 172, 42
HSL
40.41°, 82.83%, 54.31%
OKLCH
0.78 0.15 79.89
Names
—
Lists

Codes

FormatValue
HEX#ebac2a
RGBrgb(235 172 42)
HSLhsl(40.41 82.83% 54.31%)
OKLCHoklch(0.78 0.15 79.89)
CMYKcmyk(0% 26.81% 82.13% 7.84%)
Android#ffebac2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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