Skip to content
Vectorlight.net

#ebcd1f

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

HEX
#ebcd1f
RGB
235, 205, 31
HSL
51.18°, 83.61%, 52.16%
OKLCH
0.85 0.17 98.04
Names
—
Lists

Codes

FormatValue
HEX#ebcd1f
RGBrgb(235 205 31)
HSLhsl(51.18 83.61% 52.16%)
OKLCHoklch(0.85 0.17 98.04)
CMYKcmyk(0% 12.77% 86.81% 7.84%)
Android#ffebcd1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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