Skip to content
Vectorlight.net

#ebb228

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

HEX
#ebb228
RGB
235, 178, 40
HSL
42.46°, 82.98%, 53.92%
OKLCH
0.8 0.15 83.59
Names
—
Lists

Codes

FormatValue
HEX#ebb228
RGBrgb(235 178 40)
HSLhsl(42.46 82.98% 53.92%)
OKLCHoklch(0.8 0.15 83.59)
CMYKcmyk(0% 24.26% 82.98% 7.84%)
Android#ffebb228

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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