#548f21
a dark, vivid green · cool · closest name: olivedrab
RGB
84, 143, 33
HSL
92°, 63%, 35%
CMYK
41, 0, 77, 44
Luminance
0.2164
Every format
| HEX | #548f21 |
| RGB | rgb(84, 143, 33) |
| HSL | hsl(92, 63%, 35%) |
| CMYK | cmyk(41%, 0%, 77%, 44%) |
| LAB | lab(53.6 -37.7 49.0) |
| LCH | lch(53.6 61.8 127.6) |
| OKLCH | oklch(0.588 0.152 134.0) |
Copy-ready code
/* CSS */
color: #548f21;
background-color: #548f21;
/* Tailwind (arbitrary) */
class="text-[#548f21] bg-[#548f21]"
/* SCSS */
$brand: #548f21;
/* SwiftUI */
Color(red: 0.329, green: 0.561, blue: 0.129)
/* Android */
Color.parseColor("#548f21")Accessibility — WCAG contrast
Aa
#548f21 on white: 3.94:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#548f21 on black: 5.33:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green56.1%
Blue12.9%
CMYK percentages
Cyan41.3%
Magenta0.0%
Yellow76.9%
Key (black)43.9%
Color previews
#548f21 text on a black background
contrast 5.33:1
Card sample
#548f21 text on a white background
contrast 3.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #548f21;
Background color
Panel with #548f21 background
background-color: #548f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #548f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 143, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 143, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #548f21; background: linear-gradient(135deg, #548f21, #218F37);