#d2bf02
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 | #d2bf02 | |
| RGB | rgb(210 191 2) | |
| HSL | hsl(54.52 98.11% 41.57%) | |
| OKLCH | oklch(0.8 0.17 102.21) | |
| CMYK | cmyk(0% 9.05% 99.05% 17.65%) | |
| Android | #ffd2bf02 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.87:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.19: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="#d2bf02"
Gradient stop
<stop stop-color="#d2bf02"/>
CSS variable + fill
:root { --c: #d2bf02; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d2bf02; background-color: #d2bf02; bg-[#d2bf02]