Skip to content
Vectorlight.net

#ebaf1f

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

HEX
#ebaf1f
RGB
235, 175, 31
HSL
42.35°, 83.61%, 52.16%
OKLCH
0.79 0.16 82.5
Names
—
Lists

Codes

FormatValue
HEX#ebaf1f
RGBrgb(235 175 31)
HSLhsl(42.35 83.61% 52.16%)
OKLCHoklch(0.79 0.16 82.5)
CMYKcmyk(0% 25.53% 86.81% 7.84%)
Android#ffebaf1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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