Skip to content
Vectorlight.net

#ebd42f

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

HEX
#ebd42f
RGB
235, 212, 47
HSL
52.66°, 82.46%, 55.29%
OKLCH
0.86 0.17 100.74
Names
—
Lists

Codes

FormatValue
HEX#ebd42f
RGBrgb(235 212 47)
HSLhsl(52.66 82.46% 55.29%)
OKLCHoklch(0.86 0.17 100.74)
CMYKcmyk(0% 9.79% 80% 7.84%)
Android#ffebd42f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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