#98cf49
a balanced, vivid green · cool · closest name: olivedrab
RGB
152, 207, 73
HSL
85°, 58%, 55%
CMYK
27, 0, 65, 19
Luminance
0.5178
Every format
| HEX | #98cf49 |
| RGB | rgb(152, 207, 73) |
| HSL | hsl(85, 58%, 55%) |
| CMYK | cmyk(27%, 0%, 65%, 19%) |
| LAB | lab(77.2 -38.2 58.8) |
| LCH | lch(77.2 70.1 123.0) |
| OKLCH | oklch(0.790 0.173 128.8) |
Copy-ready code
/* CSS */
color: #98cf49;
background-color: #98cf49;
/* Tailwind (arbitrary) */
class="text-[#98cf49] bg-[#98cf49]"
/* SCSS */
$brand: #98cf49;
/* SwiftUI */
Color(red: 0.596, green: 0.812, blue: 0.286)
/* Android */
Color.parseColor("#98cf49")Accessibility — WCAG contrast
Aa
#98cf49 on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#98cf49 on black: 11.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red59.6%
Green81.2%
Blue28.6%
CMYK percentages
Cyan26.6%
Magenta0.0%
Yellow64.7%
Key (black)18.8%
Color previews
#98cf49 text on a black background
contrast 11.36:1
Card sample
#98cf49 text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #98cf49;
Background color
Panel with #98cf49 background
background-color: #98cf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #98cf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(152, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #98cf49; background: linear-gradient(135deg, #98cf49, #49CF53);