#6f9021
a dark, vivid green · cool · “olivedrab”
RGB
111, 144, 33
HSL
78°, 63%, 35%
CMYK
23, 0, 77, 44
Luminance
0.2344
Every format
| HEX | #6f9021 |
| RGB | rgb(111, 144, 33) |
| HSL | hsl(78, 63%, 35%) |
| CMYK | cmyk(23%, 0%, 77%, 44%) |
| LAB | lab(55.5 -27.6 51.3) |
| LCH | lch(55.5 58.3 118.3) |
| OKLCH | oklch(0.607 0.139 125.2) |
Copy-ready code
/* CSS */
color: #6f9021;
background-color: #6f9021;
/* Tailwind (arbitrary) */
class="text-[#6f9021] bg-[#6f9021]"
/* SCSS */
$brand: #6f9021;
/* SwiftUI */
Color(red: 0.435, green: 0.565, blue: 0.129)
/* Android */
Color.parseColor("#6f9021")Accessibility — WCAG contrast
Aa
#6f9021 on white: 3.69:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#6f9021 on black: 5.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.5%
Green56.5%
Blue12.9%
CMYK percentages
Cyan22.9%
Magenta0.0%
Yellow77.1%
Key (black)43.5%
Color previews
#6f9021 text on a black background
contrast 5.69:1
Card sample
#6f9021 text on a white background
contrast 3.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6f9021;
Background color
Panel with #6f9021 background
background-color: #6f9021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6f9021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(111, 144, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 144, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6f9021; background: linear-gradient(135deg, #6f9021, #259021);