#546421
a dark, vivid green · cool · closest name: olivedrab
RGB
84, 100, 33
HSL
74°, 50%, 26%
CMYK
16, 0, 67, 61
Luminance
0.1111
Every format
| HEX | #546421 |
| RGB | rgb(84, 100, 33) |
| HSL | hsl(74, 50%, 26%) |
| CMYK | cmyk(16%, 0%, 67%, 61%) |
| LAB | lab(39.8 -16.9 34.8) |
| LCH | lch(39.8 38.7 115.8) |
| OKLCH | oklch(0.475 0.093 121.5) |
Copy-ready code
/* CSS */
color: #546421;
background-color: #546421;
/* Tailwind (arbitrary) */
class="text-[#546421] bg-[#546421]"
/* SCSS */
$brand: #546421;
/* SwiftUI */
Color(red: 0.329, green: 0.392, blue: 0.129)
/* Android */
Color.parseColor("#546421")Accessibility — WCAG contrast
Aa
#546421 on white: 6.52:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#546421 on black: 3.22:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.9%
Green39.2%
Blue12.9%
CMYK percentages
Cyan16.0%
Magenta0.0%
Yellow67.0%
Key (black)60.8%
Color previews
#546421 text on a black background
contrast 3.22:1
Card sample
#546421 text on a white background
contrast 6.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #546421;
Background color
Panel with #546421 background
background-color: #546421;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #546421;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(84, 100, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(84, 100, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #546421; background: linear-gradient(135deg, #546421, #276421);