#464c01
a deep, electric yellow · cool · closest name: olive
RGB
70, 76, 1
HSL
65°, 97%, 15%
CMYK
8, 0, 99, 70
Luminance
0.0647
Every format
| HEX | #464c01 |
| RGB | rgb(70, 76, 1) |
| HSL | hsl(65, 97%, 15%) |
| CMYK | cmyk(8%, 0%, 99%, 70%) |
| LAB | lab(30.6 -12.0 38.3) |
| LCH | lch(30.6 40.1 107.4) |
| OKLCH | oklch(0.397 0.089 114.9) |
Copy-ready code
/* CSS */
color: #464c01;
background-color: #464c01;
/* Tailwind (arbitrary) */
class="text-[#464c01] bg-[#464c01]"
/* SCSS */
$brand: #464c01;
/* SwiftUI */
Color(red: 0.275, green: 0.298, blue: 0.004)
/* Android */
Color.parseColor("#464c01")Accessibility — WCAG contrast
Aa
#464c01 on white: 9.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#464c01 on black: 2.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red27.5%
Green29.8%
Blue0.4%
CMYK percentages
Cyan7.9%
Magenta0.0%
Yellow98.7%
Key (black)70.2%
Color previews
#464c01 text on a black background
contrast 2.29:1
Card sample
#464c01 text on a white background
contrast 9.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #464c01;
Background color
Panel with #464c01 background
background-color: #464c01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #464c01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(70, 76, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(70, 76, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #464c01; background: linear-gradient(135deg, #464c01, #144C01);