Skip to content
Vectorlight.net

#ebb31f

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

HEX
#ebb31f
RGB
235, 179, 31
HSL
43.53°, 83.61%, 52.16%
OKLCH
0.8 0.16 84.76
Names
—
Lists

Codes

FormatValue
HEX#ebb31f
RGBrgb(235 179 31)
HSLhsl(43.53 83.61% 52.16%)
OKLCHoklch(0.8 0.16 84.76)
CMYKcmyk(0% 23.83% 86.81% 7.84%)
Android#ffebb31f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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