#343c01
a deep, electric yellow · cool · closest name: darkslategray
RGB
52, 60, 1
HSL
68°, 97%, 12%
CMYK
13, 0, 98, 77
Luminance
0.0396
Every format
| HEX | #343c01 |
| RGB | rgb(52, 60, 1) |
| HSL | hsl(68, 97%, 12%) |
| CMYK | cmyk(13%, 0%, 98%, 77%) |
| LAB | lab(23.6 -11.8 31.5) |
| LCH | lch(23.6 33.7 110.5) |
| OKLCH | oklch(0.337 0.077 117.8) |
Copy-ready code
/* CSS */
color: #343c01;
background-color: #343c01;
/* Tailwind (arbitrary) */
class="text-[#343c01] bg-[#343c01]"
/* SCSS */
$brand: #343c01;
/* SwiftUI */
Color(red: 0.204, green: 0.235, blue: 0.004)
/* Android */
Color.parseColor("#343c01")Accessibility — WCAG contrast
Aa
#343c01 on white: 11.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#343c01 on black: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.4%
Green23.5%
Blue0.4%
CMYK percentages
Cyan13.3%
Magenta0.0%
Yellow98.3%
Key (black)76.5%
Color previews
#343c01 text on a black background
contrast 1.79:1
Card sample
#343c01 text on a white background
contrast 11.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #343c01;
Background color
Panel with #343c01 background
background-color: #343c01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #343c01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(52, 60, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 60, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #343c01; background: linear-gradient(135deg, #343c01, #0D3C01);