#959b21
a dark, vivid yellow · cool · closest name: olive
RGB
149, 155, 33
HSL
63°, 65%, 37%
CMYK
4, 0, 79, 39
Luminance
0.2994
Every format
| HEX | #959b21 |
| RGB | rgb(149, 155, 33) |
| HSL | hsl(63, 65%, 37%) |
| CMYK | cmyk(4%, 0%, 79%, 39%) |
| LAB | lab(61.6 -16.8 58.0) |
| LCH | lch(61.6 60.4 106.1) |
| OKLCH | oklch(0.663 0.137 112.5) |
Copy-ready code
/* CSS */
color: #959b21;
background-color: #959b21;
/* Tailwind (arbitrary) */
class="text-[#959b21] bg-[#959b21]"
/* SCSS */
$brand: #959b21;
/* SwiftUI */
Color(red: 0.584, green: 0.608, blue: 0.129)
/* Android */
Color.parseColor("#959b21")Accessibility — WCAG contrast
Aa
#959b21 on white: 3.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#959b21 on black: 6.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green60.8%
Blue12.9%
CMYK percentages
Cyan3.9%
Magenta0.0%
Yellow78.7%
Key (black)39.2%
Color previews
#959b21 text on a black background
contrast 6.99:1
Card sample
#959b21 text on a white background
contrast 3.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #959b21;
Background color
Panel with #959b21 background
background-color: #959b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #959b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 155, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 155, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #959b21; background: linear-gradient(135deg, #959b21, #449B21);