Skip to content
Vectorlight.net

#ebaf42

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

HEX
#ebaf42
RGB
235, 175, 66
HSL
38.7°, 80.86%, 59.02%
OKLCH
0.79 0.14 78.77
Names
—
Lists

Codes

FormatValue
HEX#ebaf42
RGBrgb(235 175 66)
HSLhsl(38.7 80.86% 59.02%)
OKLCHoklch(0.79 0.14 78.77)
CMYKcmyk(0% 25.53% 71.91% 7.84%)
Android#ffebaf42

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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