#adbb21
a dark, vivid yellow · cool · closest name: olive
RGB
173, 187, 33
HSL
66°, 70%, 43%
CMYK
8, 0, 82, 27
Luminance
0.4453
Every format
| HEX | #adbb21 |
| RGB | rgb(173, 187, 33) |
| HSL | hsl(66, 70%, 43%) |
| CMYK | cmyk(8%, 0%, 82%, 27%) |
| LAB | lab(72.6 -22.5 68.3) |
| LCH | lch(72.6 72.0 108.2) |
| OKLCH | oklch(0.756 0.163 115.2) |
Copy-ready code
/* CSS */
color: #adbb21;
background-color: #adbb21;
/* Tailwind (arbitrary) */
class="text-[#adbb21] bg-[#adbb21]"
/* SCSS */
$brand: #adbb21;
/* SwiftUI */
Color(red: 0.678, green: 0.733, blue: 0.129)
/* Android */
Color.parseColor("#adbb21")Accessibility — WCAG contrast
Aa
#adbb21 on white: 2.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#adbb21 on black: 9.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green73.3%
Blue12.9%
CMYK percentages
Cyan7.5%
Magenta0.0%
Yellow82.4%
Key (black)26.7%
Color previews
#adbb21 text on a black background
contrast 9.91:1
Card sample
#adbb21 text on a white background
contrast 2.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #adbb21;
Background color
Panel with #adbb21 background
background-color: #adbb21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #adbb21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 187, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 187, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #adbb21; background: linear-gradient(135deg, #adbb21, #46BB21);