#9ca721
a dark, vivid yellow · cool · closest name: olive
RGB
156, 167, 33
HSL
65°, 67%, 39%
CMYK
7, 0, 80, 35
Luminance
0.3482
Every format
| HEX | #9ca721 |
| RGB | rgb(156, 167, 33) |
| HSL | hsl(65, 67%, 39%) |
| CMYK | cmyk(7%, 0%, 80%, 35%) |
| LAB | lab(65.6 -19.8 61.8) |
| LCH | lch(65.6 64.9 107.8) |
| OKLCH | oklch(0.697 0.148 114.5) |
Copy-ready code
/* CSS */
color: #9ca721;
background-color: #9ca721;
/* Tailwind (arbitrary) */
class="text-[#9ca721] bg-[#9ca721]"
/* SCSS */
$brand: #9ca721;
/* SwiftUI */
Color(red: 0.612, green: 0.655, blue: 0.129)
/* Android */
Color.parseColor("#9ca721")Accessibility — WCAG contrast
Aa
#9ca721 on white: 2.64:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9ca721 on black: 7.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red61.2%
Green65.5%
Blue12.9%
CMYK percentages
Cyan6.6%
Magenta0.0%
Yellow80.2%
Key (black)34.5%
Color previews
#9ca721 text on a black background
contrast 7.96:1
Card sample
#9ca721 text on a white background
contrast 2.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9ca721;
Background color
Panel with #9ca721 background
background-color: #9ca721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9ca721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(156, 167, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 167, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9ca721; background: linear-gradient(135deg, #9ca721, #43A721);