#bab239
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 | #bab239 | |
| RGB | rgb(186 178 57) | |
| HSL | hsl(56.28 53.09% 47.65%) | |
| OKLCH | oklch(0.75 0.14 105.54) | |
| CMYK | cmyk(0% 4.3% 69.35% 27.06%) | |
| Android | #ffbab239 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.20:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.51: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="#bab239"
Gradient stop
<stop stop-color="#bab239"/>
CSS variable + fill
:root { --c: #bab239; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bab239; background-color: #bab239; bg-[#bab239]