#958921
a dark, vivid yellow · cool · closest name: olive
RGB
149, 137, 33
HSL
54°, 64%, 36%
CMYK
0, 8, 78, 42
Luminance
0.2439
Every format
| HEX | #958921 |
| RGB | rgb(149, 137, 33) |
| HSL | hsl(54, 64%, 36%) |
| CMYK | cmyk(0%, 8%, 78%, 42%) |
| LAB | lab(56.5 -7.2 53.3) |
| LCH | lch(56.5 53.8 97.7) |
| OKLCH | oklch(0.622 0.119 102.5) |
Copy-ready code
/* CSS */
color: #958921;
background-color: #958921;
/* Tailwind (arbitrary) */
class="text-[#958921] bg-[#958921]"
/* SCSS */
$brand: #958921;
/* SwiftUI */
Color(red: 0.584, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#958921")Accessibility — WCAG contrast
Aa
#958921 on white: 3.57:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#958921 on black: 5.88:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green53.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta8.1%
Yellow77.9%
Key (black)41.6%
Color previews
#958921 text on a black background
contrast 5.88:1
Card sample
#958921 text on a white background
contrast 3.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #958921;
Background color
Panel with #958921 background
background-color: #958921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #958921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #958921; background: linear-gradient(135deg, #958921, #549521);