#9aad21
a dark, vivid yellow · cool · closest name: olivedrab
RGB
154, 173, 33
HSL
68°, 68%, 40%
CMYK
11, 0, 81, 32
Luminance
0.3687
Every format
| HEX | #9aad21 |
| RGB | rgb(154, 173, 33) |
| HSL | hsl(68, 68%, 40%) |
| CMYK | cmyk(11%, 0%, 81%, 32%) |
| LAB | lab(67.2 -23.7 63.1) |
| LCH | lch(67.2 67.4 110.6) |
| OKLCH | oklch(0.709 0.155 117.6) |
Copy-ready code
/* CSS */
color: #9aad21;
background-color: #9aad21;
/* Tailwind (arbitrary) */
class="text-[#9aad21] bg-[#9aad21]"
/* SCSS */
$brand: #9aad21;
/* SwiftUI */
Color(red: 0.604, green: 0.678, blue: 0.129)
/* Android */
Color.parseColor("#9aad21")Accessibility — WCAG contrast
Aa
#9aad21 on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9aad21 on black: 8.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.4%
Green67.8%
Blue12.9%
CMYK percentages
Cyan11.0%
Magenta0.0%
Yellow80.9%
Key (black)32.2%
Color previews
#9aad21 text on a black background
contrast 8.37:1
Card sample
#9aad21 text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9aad21;
Background color
Panel with #9aad21 background
background-color: #9aad21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9aad21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(154, 173, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 173, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9aad21; background: linear-gradient(135deg, #9aad21, #3DAD21);