#adad2c
a dark, vivid yellow · cool · closest name: olive
RGB
173, 173, 44
HSL
60°, 59%, 43%
CMYK
0, 0, 75, 32
Luminance
0.3895
Every format
| HEX | #adad2c |
| RGB | rgb(173, 173, 44) |
| HSL | hsl(60, 59%, 43%) |
| CMYK | cmyk(0%, 0%, 75%, 32%) |
| LAB | lab(68.7 -15.1 61.7) |
| LCH | lch(68.7 63.5 103.7) |
| OKLCH | oklch(0.725 0.144 109.5) |
Copy-ready code
/* CSS */
color: #adad2c;
background-color: #adad2c;
/* Tailwind (arbitrary) */
class="text-[#adad2c] bg-[#adad2c]"
/* SCSS */
$brand: #adad2c;
/* SwiftUI */
Color(red: 0.678, green: 0.678, blue: 0.173)
/* Android */
Color.parseColor("#adad2c")Accessibility — WCAG contrast
Aa
#adad2c on white: 2.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#adad2c on black: 8.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green67.8%
Blue17.3%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow74.6%
Key (black)32.2%
Color previews
#adad2c text on a black background
contrast 8.79:1
Card sample
#adad2c text on a white background
contrast 2.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #adad2c;
Background color
Panel with #adad2c background
background-color: #adad2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #adad2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 173, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 173, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #adad2c; background: linear-gradient(135deg, #adad2c, #57AD2C);