#ae9721
a dark, vivid yellow · cool · closest name: olive
RGB
174, 151, 33
HSL
50°, 68%, 41%
CMYK
0, 13, 81, 32
Luminance
0.3124
Every format
| HEX | #ae9721 |
| RGB | rgb(174, 151, 33) |
| HSL | hsl(50, 68%, 41%) |
| CMYK | cmyk(0%, 13%, 81%, 32%) |
| LAB | lab(62.7 -3.5 59.8) |
| LCH | lch(62.7 59.9 93.3) |
| OKLCH | oklch(0.677 0.130 97.3) |
Copy-ready code
/* CSS */
color: #ae9721;
background-color: #ae9721;
/* Tailwind (arbitrary) */
class="text-[#ae9721] bg-[#ae9721]"
/* SCSS */
$brand: #ae9721;
/* SwiftUI */
Color(red: 0.682, green: 0.592, blue: 0.129)
/* Android */
Color.parseColor("#ae9721")Accessibility — WCAG contrast
Aa
#ae9721 on white: 2.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ae9721 on black: 7.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green59.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta13.2%
Yellow81.0%
Key (black)31.8%
Color previews
#ae9721 text on a black background
contrast 7.25:1
Card sample
#ae9721 text on a white background
contrast 2.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae9721;
Background color
Panel with #ae9721 background
background-color: #ae9721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae9721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 151, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 151, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae9721; background: linear-gradient(135deg, #ae9721, #67AE21);