#affb45
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 | #affb45 | |
| RGB | rgb(175 251 69) | |
| HSL | hsl(85.05 95.79% 62.75%) | |
| OKLCH | oklch(0.91 0.22 129.91) | |
| CMYK | cmyk(30.28% 0% 72.51% 1.57%) | |
| Android | #ffaffb45 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.25:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
16.70: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="#affb45"
Gradient stop
<stop stop-color="#affb45"/>
CSS variable + fill
:root { --c: #affb45; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #affb45; background-color: #affb45; bg-[#affb45]