#95ac21
a dark, vivid yellow · cool · closest name: olivedrab
RGB
149, 172, 33
HSL
70°, 68%, 40%
CMYK
13, 0, 81, 33
Luminance
0.3600
Every format
| HEX | #95ac21 |
| RGB | rgb(149, 172, 33) |
| HSL | hsl(70, 68%, 40%) |
| CMYK | cmyk(13%, 0%, 81%, 33%) |
| LAB | lab(66.5 -25.3 62.4) |
| LCH | lch(66.5 67.3 112.1) |
| OKLCH | oklch(0.703 0.156 119.2) |
Copy-ready code
/* CSS */
color: #95ac21;
background-color: #95ac21;
/* Tailwind (arbitrary) */
class="text-[#95ac21] bg-[#95ac21]"
/* SCSS */
$brand: #95ac21;
/* SwiftUI */
Color(red: 0.584, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#95ac21")Accessibility — WCAG contrast
Aa
#95ac21 on white: 2.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#95ac21 on black: 8.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red58.4%
Green67.5%
Blue12.9%
CMYK percentages
Cyan13.4%
Magenta0.0%
Yellow80.8%
Key (black)32.5%
Color previews
#95ac21 text on a black background
contrast 8.20:1
Card sample
#95ac21 text on a white background
contrast 2.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #95ac21;
Background color
Panel with #95ac21 background
background-color: #95ac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #95ac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(149, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(149, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #95ac21; background: linear-gradient(135deg, #95ac21, #38AC21);