#af9213
a dark, electric yellow · cool · closest name: olive
RGB
175, 146, 19
HSL
49°, 80%, 38%
CMYK
0, 17, 89, 31
Luminance
0.2972
Every format
| HEX | #af9213 |
| RGB | rgb(175, 146, 19) |
| HSL | hsl(49, 80%, 38%) |
| CMYK | cmyk(0%, 17%, 89%, 31%) |
| LAB | lab(61.4 -0.7 62.5) |
| LCH | lch(61.4 62.5 90.6) |
| OKLCH | oklch(0.667 0.133 94.2) |
Copy-ready code
/* CSS */
color: #af9213;
background-color: #af9213;
/* Tailwind (arbitrary) */
class="text-[#af9213] bg-[#af9213]"
/* SCSS */
$brand: #af9213;
/* SwiftUI */
Color(red: 0.686, green: 0.573, blue: 0.075)
/* Android */
Color.parseColor("#af9213")Accessibility — WCAG contrast
Aa
#af9213 on white: 3.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#af9213 on black: 6.94:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green57.3%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta16.6%
Yellow89.1%
Key (black)31.4%
Color previews
#af9213 text on a black background
contrast 6.94:1
Card sample
#af9213 text on a white background
contrast 3.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af9213;
Background color
Panel with #af9213 background
background-color: #af9213;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af9213;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 146, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 146, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9213; background: linear-gradient(135deg, #af9213, #64AF13);