#919b21
a dark, vivid yellow · cool · closest name: olive
RGB
145, 155, 33
HSL
65°, 65%, 37%
CMYK
7, 0, 79, 39
Luminance
0.2957
Every format
| HEX | #919b21 |
| RGB | rgb(145, 155, 33) |
| HSL | hsl(65, 65%, 37%) |
| CMYK | cmyk(7%, 0%, 79%, 39%) |
| LAB | lab(61.3 -18.5 57.6) |
| LCH | lch(61.3 60.5 107.8) |
| OKLCH | oklch(0.660 0.138 114.4) |
Copy-ready code
/* CSS */
color: #919b21;
background-color: #919b21;
/* Tailwind (arbitrary) */
class="text-[#919b21] bg-[#919b21]"
/* SCSS */
$brand: #919b21;
/* SwiftUI */
Color(red: 0.569, green: 0.608, blue: 0.129)
/* Android */
Color.parseColor("#919b21")Accessibility — WCAG contrast
Aa
#919b21 on white: 3.04:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#919b21 on black: 6.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.9%
Green60.8%
Blue12.9%
CMYK percentages
Cyan6.5%
Magenta0.0%
Yellow78.7%
Key (black)39.2%
Color previews
#919b21 text on a black background
contrast 6.91:1
Card sample
#919b21 text on a white background
contrast 3.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #919b21;
Background color
Panel with #919b21 background
background-color: #919b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #919b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(145, 155, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 155, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #919b21; background: linear-gradient(135deg, #919b21, #409B21);