Skip to content
Vectorlight.net

#fceb3b

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

HEX
#fceb3b
RGB
252, 235, 59
HSL
54.72°, 96.98%, 60.98%
OKLCH
0.93 0.18 103.57
Names
—
Lists

Codes

FormatValue
HEX#fceb3b
RGBrgb(252 235 59)
HSLhsl(54.72 96.98% 60.98%)
OKLCHoklch(0.93 0.18 103.57)
CMYKcmyk(0% 6.75% 76.59% 1.18%)
Android#fffceb3b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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