Skip to content
Vectorlight.net

#faf028

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

HEX
#faf028
RGB
250, 240, 40
HSL
57.14°, 95.45%, 56.86%
OKLCH
0.93 0.19 106.39
Names
—
Lists

Codes

FormatValue
HEX#faf028
RGBrgb(250 240 40)
HSLhsl(57.14 95.45% 56.86%)
OKLCHoklch(0.93 0.19 106.39)
CMYKcmyk(0% 4% 84% 1.96%)
Android#fffaf028

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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