#ffd128
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 | #ffd128 | |
| RGB | rgb(255 209 40) | |
| HSL | hsl(47.16 100% 57.84%) | |
| OKLCH | oklch(0.88 0.17 91.75) | |
| CMYK | cmyk(0% 18.04% 84.31% 0%) | |
| Android | #ffffd128 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.45:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.40: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="#ffd128"
Gradient stop
<stop stop-color="#ffd128"/>
CSS variable + fill
:root { --c: #ffd128; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffd128; background-color: #ffd128; bg-[#ffd128]