#548c0f
a dark, electric green · cool · closest name: olivedrab
RGB
84, 140, 15
HSL
87°, 81%, 30%
CMYK
40, 0, 89, 45
Luminance
0.2068
Every format
| HEX | #548c0f |
| RGB | rgb(84, 140, 15) |
| HSL | hsl(87, 81%, 30%) |
| CMYK | cmyk(40%, 0%, 89%, 45%) |
| LAB | lab(52.6 -37.3 53.2) |
| LCH | lch(52.6 64.9 125.0) |
| OKLCH | oklch(0.579 0.157 132.5) |
Copy-ready code
/* CSS */
color: #548c0f;
background-color: #548c0f;
/* Tailwind (arbitrary) */
class="text-[#548c0f] bg-[#548c0f]"
/* SCSS */
$brand: #548c0f;
/* SwiftUI */
Color(red: 0.329, green: 0.549, blue: 0.059)
/* Android */
Color.parseColor("#548c0f")Accessibility — WCAG contrast
Aa
#548c0f on white: 4.09:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#548c0f on black: 5.14:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green54.9%
Blue5.9%
CMYK percentages
Cyan40.0%
Magenta0.0%
Yellow89.3%
Key (black)45.1%
Color previews
#548c0f text on a black background
contrast 5.14:1
Card sample
#548c0f text on a white background
contrast 4.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #548c0f;
Background color
Panel with #548c0f background
background-color: #548c0f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #548c0f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 140, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 140, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #548c0f; background: linear-gradient(135deg, #548c0f, #0F8C1D);