#ceb315
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 | #ceb315 | |
| RGB | rgb(206 179 21) | |
| HSL | hsl(51.24 81.5% 44.51%) | |
| OKLCH | oklch(0.77 0.15 97.91) | |
| CMYK | cmyk(0% 13.11% 89.81% 19.22%) | |
| Android | #ffceb315 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.08:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.08: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="#ceb315"
Gradient stop
<stop stop-color="#ceb315"/>
CSS variable + fill
:root { --c: #ceb315; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ceb315; background-color: #ceb315; bg-[#ceb315]