#6c8921
a dark, vivid green · cool · closest name: olivedrab
RGB
108, 137, 33
HSL
77°, 61%, 33%
CMYK
21, 0, 76, 46
Luminance
0.2119
Every format
| HEX | #6c8921 |
| RGB | rgb(108, 137, 33) |
| HSL | hsl(77, 61%, 33%) |
| CMYK | cmyk(21%, 0%, 76%, 46%) |
| LAB | lab(53.2 -25.5 49.0) |
| LCH | lch(53.2 55.2 117.5) |
| OKLCH | oklch(0.588 0.132 124.2) |
Copy-ready code
/* CSS */
color: #6c8921;
background-color: #6c8921;
/* Tailwind (arbitrary) */
class="text-[#6c8921] bg-[#6c8921]"
/* SCSS */
$brand: #6c8921;
/* SwiftUI */
Color(red: 0.424, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#6c8921")Accessibility — WCAG contrast
Aa
#6c8921 on white: 4.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#6c8921 on black: 5.24:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red42.4%
Green53.7%
Blue12.9%
CMYK percentages
Cyan21.2%
Magenta0.0%
Yellow75.9%
Key (black)46.3%
Color previews
#6c8921 text on a black background
contrast 5.24:1
Card sample
#6c8921 text on a white background
contrast 4.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6c8921;
Background color
Panel with #6c8921 background
background-color: #6c8921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6c8921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(108, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c8921; background: linear-gradient(135deg, #6c8921, #278921);