Skip to content
Vectorlight.net

#ffaa18

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

HEX
#ffaa18
RGB
255, 170, 24
HSL
37.92°, 100%, 54.71%
OKLCH
0.8 0.17 72.33
Names
—
Lists

Codes

FormatValue
HEX#ffaa18
RGBrgb(255 170 24)
HSLhsl(37.92 100% 54.71%)
OKLCHoklch(0.8 0.17 72.33)
CMYKcmyk(0% 33.33% 90.59% 0%)
Android#ffffaa18

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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