#959f21
a dark, vivid yellow · cool · closest name: olive
RGB
149, 159, 33
HSL
65°, 66%, 38%
CMYK
6, 0, 79, 38
Luminance
0.3130
Every format
| HEX | #959f21 |
| RGB | rgb(149, 159, 33) |
| HSL | hsl(65, 66%, 38%) |
| CMYK | cmyk(6%, 0%, 79%, 38%) |
| LAB | lab(62.8 -18.8 59.0) |
| LCH | lch(62.8 61.9 107.7) |
| OKLCH | oklch(0.672 0.141 114.3) |
Copy-ready code
/* CSS */
color: #959f21;
background-color: #959f21;
/* Tailwind (arbitrary) */
class="text-[#959f21] bg-[#959f21]"
/* SCSS */
$brand: #959f21;
/* SwiftUI */
Color(red: 0.584, green: 0.624, blue: 0.129)
/* Android */
Color.parseColor("#959f21")Accessibility — WCAG contrast
Aa
#959f21 on white: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#959f21 on black: 7.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green62.4%
Blue12.9%
CMYK percentages
Cyan6.3%
Magenta0.0%
Yellow79.2%
Key (black)37.6%
Color previews
#959f21 text on a black background
contrast 7.26:1
Card sample
#959f21 text on a white background
contrast 2.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #959f21;
Background color
Panel with #959f21 background
background-color: #959f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #959f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 159, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 159, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #959f21; background: linear-gradient(135deg, #959f21, #419F21);