#303a01
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 | #303a01 | |
| RGB | rgb(48 58 1) | |
| HSL | hsl(70.53 96.61% 11.57%) | |
| OKLCH | oklch(0.33 0.08 119.95) | |
| CMYK | cmyk(17.24% 0% 98.28% 77.25%) | |
| Android | #ff303a01 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.73:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#303a01"
Gradient stop
<stop stop-color="#303a01"/>
CSS variable + fill
:root { --c: #303a01; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #303a01; background-color: #303a01; bg-[#303a01]