#728c21
a dark, vivid green · cool · closest name: olivedrab
RGB
114, 140, 33
HSL
75°, 62%, 34%
CMYK
19, 0, 76, 45
Luminance
0.2244
Every format
| HEX | #728c21 |
| RGB | rgb(114, 140, 33) |
| HSL | hsl(75, 62%, 34%) |
| CMYK | cmyk(19%, 0%, 76%, 45%) |
| LAB | lab(54.5 -24.4 50.4) |
| LCH | lch(54.5 56.0 115.8) |
| OKLCH | oklch(0.599 0.133 122.6) |
Copy-ready code
/* CSS */
color: #728c21;
background-color: #728c21;
/* Tailwind (arbitrary) */
class="text-[#728c21] bg-[#728c21]"
/* SCSS */
$brand: #728c21;
/* SwiftUI */
Color(red: 0.447, green: 0.549, blue: 0.129)
/* Android */
Color.parseColor("#728c21")Accessibility — WCAG contrast
Aa
#728c21 on white: 3.83:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#728c21 on black: 5.49:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red44.7%
Green54.9%
Blue12.9%
CMYK percentages
Cyan18.6%
Magenta0.0%
Yellow76.4%
Key (black)45.1%
Color previews
#728c21 text on a black background
contrast 5.49:1
Card sample
#728c21 text on a white background
contrast 3.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #728c21;
Background color
Panel with #728c21 background
background-color: #728c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #728c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(114, 140, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(114, 140, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #728c21; background: linear-gradient(135deg, #728c21, #2B8C21);