#068021
a dark, electric green · cool · closest name: forestgreen
RGB
6, 128, 33
HSL
133°, 91%, 26%
CMYK
95, 0, 74, 50
Luminance
0.1559
Every format
| HEX | #068021 |
| RGB | rgb(6, 128, 33) |
| HSL | hsl(133, 91%, 26%) |
| CMYK | cmyk(95%, 0%, 74%, 50%) |
| LAB | lab(46.4 -49.3 41.0) |
| LCH | lch(46.4 64.2 140.3) |
| OKLCH | oklch(0.522 0.163 144.9) |
Copy-ready code
/* CSS */
color: #068021;
background-color: #068021;
/* Tailwind (arbitrary) */
class="text-[#068021] bg-[#068021]"
/* SCSS */
$brand: #068021;
/* SwiftUI */
Color(red: 0.024, green: 0.502, blue: 0.129)
/* Android */
Color.parseColor("#068021")Accessibility — WCAG contrast
Aa
#068021 on white: 5.10:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#068021 on black: 4.12:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.4%
Green50.2%
Blue12.9%
CMYK percentages
Cyan95.3%
Magenta0.0%
Yellow74.2%
Key (black)49.8%
Color previews
#068021 text on a black background
contrast 4.12:1
Card sample
#068021 text on a white background
contrast 5.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #068021;
Background color
Panel with #068021 background
background-color: #068021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #068021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(6, 128, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(6, 128, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #068021; background: linear-gradient(135deg, #068021, #068072);