#aeb821
a dark, vivid yellow · cool · closest name: olive
RGB
174, 184, 33
HSL
64°, 70%, 43%
CMYK
5, 0, 82, 28
Luminance
0.4339
Every format
| HEX | #aeb821 |
| RGB | rgb(174, 184, 33) |
| HSL | hsl(64, 70%, 43%) |
| CMYK | cmyk(5%, 0%, 82%, 28%) |
| LAB | lab(71.8 -20.6 67.7) |
| LCH | lch(71.8 70.8 106.9) |
| OKLCH | oklch(0.750 0.160 113.7) |
Copy-ready code
/* CSS */
color: #aeb821;
background-color: #aeb821;
/* Tailwind (arbitrary) */
class="text-[#aeb821] bg-[#aeb821]"
/* SCSS */
$brand: #aeb821;
/* SwiftUI */
Color(red: 0.682, green: 0.722, blue: 0.129)
/* Android */
Color.parseColor("#aeb821")Accessibility — WCAG contrast
Aa
#aeb821 on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aeb821 on black: 9.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green72.2%
Blue12.9%
CMYK percentages
Cyan5.4%
Magenta0.0%
Yellow82.1%
Key (black)27.8%
Color previews
#aeb821 text on a black background
contrast 9.68:1
Card sample
#aeb821 text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aeb821;
Background color
Panel with #aeb821 background
background-color: #aeb821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aeb821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aeb821; background: linear-gradient(135deg, #aeb821, #49B821);