#0a4621
a deep, electric green · cool · closest name: darkslategray
RGB
10, 70, 33
HSL
143°, 75%, 16%
CMYK
86, 0, 53, 73
Luminance
0.0455
Every format
| HEX | #0a4621 |
| RGB | rgb(10, 70, 33) |
| HSL | hsl(143, 75%, 16%) |
| CMYK | cmyk(86%, 0%, 53%, 73%) |
| LAB | lab(25.4 -28.1 17.1) |
| LCH | lch(25.4 32.9 148.7) |
| OKLCH | oklch(0.348 0.086 151.0) |
Copy-ready code
/* CSS */
color: #0a4621;
background-color: #0a4621;
/* Tailwind (arbitrary) */
class="text-[#0a4621] bg-[#0a4621]"
/* SCSS */
$brand: #0a4621;
/* SwiftUI */
Color(red: 0.039, green: 0.275, blue: 0.129)
/* Android */
Color.parseColor("#0a4621")Accessibility — WCAG contrast
Aa
#0a4621 on white: 10.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0a4621 on black: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.9%
Green27.5%
Blue12.9%
CMYK percentages
Cyan85.7%
Magenta0.0%
Yellow52.9%
Key (black)72.5%
Color previews
#0a4621 text on a black background
contrast 1.91:1
Card sample
#0a4621 text on a white background
contrast 10.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0a4621;
Background color
Panel with #0a4621 background
background-color: #0a4621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0a4621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(10, 70, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(10, 70, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0a4621; background: linear-gradient(135deg, #0a4621, #0A4346);