#959e21
a dark, vivid yellow · cool · closest name: olive
RGB
149, 158, 33
HSL
64°, 65%, 38%
CMYK
6, 0, 79, 38
Luminance
0.3095
Every format
| HEX | #959e21 |
| RGB | rgb(149, 158, 33) |
| HSL | hsl(64, 65%, 38%) |
| CMYK | cmyk(6%, 0%, 79%, 38%) |
| LAB | lab(62.5 -18.3 58.8) |
| LCH | lch(62.5 61.5 107.3) |
| OKLCH | oklch(0.670 0.140 113.9) |
Copy-ready code
/* CSS */
color: #959e21;
background-color: #959e21;
/* Tailwind (arbitrary) */
class="text-[#959e21] bg-[#959e21]"
/* SCSS */
$brand: #959e21;
/* SwiftUI */
Color(red: 0.584, green: 0.620, blue: 0.129)
/* Android */
Color.parseColor("#959e21")Accessibility — WCAG contrast
Aa
#959e21 on white: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#959e21 on black: 7.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green62.0%
Blue12.9%
CMYK percentages
Cyan5.7%
Magenta0.0%
Yellow79.1%
Key (black)38.0%
Color previews
#959e21 text on a black background
contrast 7.19:1
Card sample
#959e21 text on a white background
contrast 2.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #959e21;
Background color
Panel with #959e21 background
background-color: #959e21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #959e21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 158, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 158, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #959e21; background: linear-gradient(135deg, #959e21, #429E21);