#fdb312
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 | #fdb312 | |
| RGB | rgb(253 179 18) | |
| HSL | hsl(41.11 98.33% 53.14%) | |
| OKLCH | oklch(0.82 0.17 78.17) | |
| CMYK | cmyk(0% 29.25% 92.89% 0.78%) | |
| Android | #fffdb312 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.80:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.63: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="#fdb312"
Gradient stop
<stop stop-color="#fdb312"/>
CSS variable + fill
:root { --c: #fdb312; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fdb312; background-color: #fdb312; bg-[#fdb312]