#ced31a
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 | #ced31a | |
| RGB | rgb(206 211 26) | |
| HSL | hsl(61.62 78.06% 46.47%) | |
| OKLCH | oklch(0.84 0.18 111.47) | |
| CMYK | cmyk(2.37% 0% 87.68% 17.25%) | |
| Android | #ffced31a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.62:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.95: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="#ced31a"
Gradient stop
<stop stop-color="#ced31a"/>
CSS variable + fill
:root { --c: #ced31a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ced31a; background-color: #ced31a; bg-[#ced31a]