#afbc32
a balanced, vivid yellow · cool · closest name: olive
RGB
175, 188, 50
HSL
66°, 58%, 47%
CMYK
7, 0, 73, 26
Luminance
0.4531
Every format
| HEX | #afbc32 |
| RGB | rgb(175, 188, 50) |
| HSL | hsl(66, 58%, 47%) |
| CMYK | cmyk(7%, 0%, 73%, 26%) |
| LAB | lab(73.1 -21.5 63.8) |
| LCH | lch(73.1 67.3 108.6) |
| OKLCH | oklch(0.761 0.155 114.9) |
Copy-ready code
/* CSS */
color: #afbc32;
background-color: #afbc32;
/* Tailwind (arbitrary) */
class="text-[#afbc32] bg-[#afbc32]"
/* SCSS */
$brand: #afbc32;
/* SwiftUI */
Color(red: 0.686, green: 0.737, blue: 0.196)
/* Android */
Color.parseColor("#afbc32")Accessibility — WCAG contrast
Aa
#afbc32 on white: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afbc32 on black: 10.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green73.7%
Blue19.6%
CMYK percentages
Cyan6.9%
Magenta0.0%
Yellow73.4%
Key (black)26.3%
Color previews
#afbc32 text on a black background
contrast 10.06:1
Card sample
#afbc32 text on a white background
contrast 2.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afbc32;
Background color
Panel with #afbc32 background
background-color: #afbc32;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afbc32;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 188, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 188, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afbc32; background: linear-gradient(135deg, #afbc32, #53BC32);