#958021
a dark, vivid yellow · cool · closest name: olive
RGB
149, 128, 33
HSL
49°, 64%, 36%
CMYK
0, 14, 78, 42
Luminance
0.2194
Every format
| HEX | #958021 |
| RGB | rgb(149, 128, 33) |
| HSL | hsl(49, 64%, 36%) |
| CMYK | cmyk(0%, 14%, 78%, 42%) |
| LAB | lab(54.0 -2.3 51.0) |
| LCH | lch(54.0 51.0 92.5) |
| OKLCH | oklch(0.602 0.112 96.0) |
Copy-ready code
/* CSS */
color: #958021;
background-color: #958021;
/* Tailwind (arbitrary) */
class="text-[#958021] bg-[#958021]"
/* SCSS */
$brand: #958021;
/* SwiftUI */
Color(red: 0.584, green: 0.502, blue: 0.129)
/* Android */
Color.parseColor("#958021")Accessibility — WCAG contrast
Aa
#958021 on white: 3.90:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#958021 on black: 5.39:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green50.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta14.1%
Yellow77.9%
Key (black)41.6%
Color previews
#958021 text on a black background
contrast 5.39:1
Card sample
#958021 text on a white background
contrast 3.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #958021;
Background color
Panel with #958021 background
background-color: #958021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #958021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 128, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 128, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #958021; background: linear-gradient(135deg, #958021, #5D9521);