Skip to content
Vectorlight.net

#ff9940

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

HEX
#ff9940
RGB
255, 153, 64
HSL
27.96°, 100%, 62.55%
OKLCH
0.77 0.16 57.87
Names
—
Lists

Codes

FormatValue
HEX#ff9940
RGBrgb(255 153 64)
HSLhsl(27.96 100% 62.55%)
OKLCHoklch(0.77 0.16 57.87)
CMYKcmyk(0% 40% 74.9% 0%)
Android#ffff9940

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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