Skip to content
Vectorlight.net

#fed231

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

HEX
#fed231
RGB
254, 210, 49
HSL
47.12°, 99.03%, 59.41%
OKLCH
0.88 0.17 92.2
Names
—
Lists

Codes

FormatValue
HEX#fed231
RGBrgb(254 210 49)
HSLhsl(47.12 99.03% 59.41%)
OKLCHoklch(0.88 0.17 92.2)
CMYKcmyk(0% 17.32% 80.71% 0.39%)
Android#fffed231

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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