#af8921
a dark, vivid yellow · warm · closest name: olive
RGB
175, 137, 33
HSL
44°, 68%, 41%
CMYK
0, 22, 81, 31
Luminance
0.2712
Every format
| HEX | #af8921 |
| RGB | rgb(175, 137, 33) |
| HSL | hsl(44, 68%, 41%) |
| CMYK | cmyk(0%, 22%, 81%, 31%) |
| LAB | lab(59.1 4.7 56.6) |
| LCH | lch(59.1 56.8 85.3) |
| OKLCH | oklch(0.649 0.123 86.9) |
Copy-ready code
/* CSS */
color: #af8921;
background-color: #af8921;
/* Tailwind (arbitrary) */
class="text-[#af8921] bg-[#af8921]"
/* SCSS */
$brand: #af8921;
/* SwiftUI */
Color(red: 0.686, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#af8921")Accessibility — WCAG contrast
Aa
#af8921 on white: 3.27:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af8921 on black: 6.42:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green53.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta21.7%
Yellow81.1%
Key (black)31.4%
Color previews
#af8921 text on a black background
contrast 6.42:1
Card sample
#af8921 text on a white background
contrast 3.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af8921;
Background color
Panel with #af8921 background
background-color: #af8921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af8921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af8921; background: linear-gradient(135deg, #af8921, #76AF21);