#ae9021
a dark, vivid yellow · cool · closest name: olive
RGB
174, 144, 33
HSL
47°, 68%, 41%
CMYK
0, 17, 81, 32
Luminance
0.2905
Every format
| HEX | #ae9021 |
| RGB | rgb(174, 144, 33) |
| HSL | hsl(47, 68%, 41%) |
| CMYK | cmyk(0%, 17%, 81%, 32%) |
| LAB | lab(60.8 0.3 58.1) |
| LCH | lch(60.8 58.1 89.7) |
| OKLCH | oklch(0.662 0.126 92.6) |
Copy-ready code
/* CSS */
color: #ae9021;
background-color: #ae9021;
/* Tailwind (arbitrary) */
class="text-[#ae9021] bg-[#ae9021]"
/* SCSS */
$brand: #ae9021;
/* SwiftUI */
Color(red: 0.682, green: 0.565, blue: 0.129)
/* Android */
Color.parseColor("#ae9021")Accessibility — WCAG contrast
Aa
#ae9021 on white: 3.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ae9021 on black: 6.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green56.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta17.2%
Yellow81.0%
Key (black)31.8%
Color previews
#ae9021 text on a black background
contrast 6.81:1
Card sample
#ae9021 text on a white background
contrast 3.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae9021;
Background color
Panel with #ae9021 background
background-color: #ae9021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae9021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 144, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 144, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae9021; background: linear-gradient(135deg, #ae9021, #6EAE21);