#ffc98e
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 | #ffc98e | |
| RGB | rgb(255 201 142) | |
| HSL | hsl(31.33 100% 77.84%) | |
| OKLCH | oklch(0.87 0.1 68.47) | |
| CMYK | cmyk(0% 21.18% 44.31% 0%) | |
| Android | #ffffc98e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.50:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.99: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="#ffc98e"
Gradient stop
<stop stop-color="#ffc98e"/>
CSS variable + fill
:root { --c: #ffc98e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffc98e; background-color: #ffc98e; bg-[#ffc98e]