#9c8621
a dark, vivid yellow · cool · closest name: olive
RGB
156, 134, 33
HSL
49°, 65%, 37%
CMYK
0, 14, 79, 39
Luminance
0.2423
Every format
| HEX | #9c8621 |
| RGB | rgb(156, 134, 33) |
| HSL | hsl(49, 65%, 37%) |
| CMYK | cmyk(0%, 14%, 79%, 39%) |
| LAB | lab(56.3 -2.4 53.4) |
| LCH | lch(56.3 53.5 92.5) |
| OKLCH | oklch(0.623 0.117 96.1) |
Copy-ready code
/* CSS */
color: #9c8621;
background-color: #9c8621;
/* Tailwind (arbitrary) */
class="text-[#9c8621] bg-[#9c8621]"
/* SCSS */
$brand: #9c8621;
/* SwiftUI */
Color(red: 0.612, green: 0.525, blue: 0.129)
/* Android */
Color.parseColor("#9c8621")Accessibility — WCAG contrast
Aa
#9c8621 on white: 3.59:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9c8621 on black: 5.85:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red61.2%
Green52.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta14.1%
Yellow78.8%
Key (black)38.8%
Color previews
#9c8621 text on a black background
contrast 5.85:1
Card sample
#9c8621 text on a white background
contrast 3.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9c8621;
Background color
Panel with #9c8621 background
background-color: #9c8621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9c8621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(156, 134, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 134, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9c8621; background: linear-gradient(135deg, #9c8621, #609C21);