#9ead21
a dark, vivid yellow · cool · closest name: olive
RGB
158, 173, 33
HSL
66°, 68%, 40%
CMYK
9, 0, 81, 32
Luminance
0.3727
Every format
| HEX | #9ead21 |
| RGB | rgb(158, 173, 33) |
| HSL | hsl(66, 68%, 40%) |
| CMYK | cmyk(9%, 0%, 81%, 32%) |
| LAB | lab(67.5 -22.0 63.5) |
| LCH | lch(67.5 67.2 109.1) |
| OKLCH | oklch(0.712 0.153 116.0) |
Copy-ready code
/* CSS */
color: #9ead21;
background-color: #9ead21;
/* Tailwind (arbitrary) */
class="text-[#9ead21] bg-[#9ead21]"
/* SCSS */
$brand: #9ead21;
/* SwiftUI */
Color(red: 0.620, green: 0.678, blue: 0.129)
/* Android */
Color.parseColor("#9ead21")Accessibility — WCAG contrast
Aa
#9ead21 on white: 2.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9ead21 on black: 8.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.0%
Green67.8%
Blue12.9%
CMYK percentages
Cyan8.7%
Magenta0.0%
Yellow80.9%
Key (black)32.2%
Color previews
#9ead21 text on a black background
contrast 8.45:1
Card sample
#9ead21 text on a white background
contrast 2.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9ead21;
Background color
Panel with #9ead21 background
background-color: #9ead21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9ead21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(158, 173, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(158, 173, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9ead21; background: linear-gradient(135deg, #9ead21, #41AD21);