#ffc915
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #ffc915 | |
| RGB | rgb(255 201 21) | |
| HSL | hsl(46.15 100% 54.12%) | |
| OKLCH | oklch(0.86 0.17 88.56) | |
| CMYK | cmyk(0% 21.18% 91.76% 0%) | |
| Android | #ffffc915 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.54:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.61:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#ffc915"
Gradient stop
<stop stop-color="#ffc915"/>
CSS variable + fill
:root { --c: #ffc915; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffc915; background-color: #ffc915; bg-[#ffc915]