#a0b310
a dark, electric yellow · cool · closest name: olive
RGB
160, 179, 16
HSL
67°, 84%, 38%
CMYK
11, 0, 91, 30
Luminance
0.3975
Every format
| HEX | #a0b310 |
| RGB | rgb(160, 179, 16) |
| HSL | hsl(67, 84%, 38%) |
| CMYK | cmyk(11%, 0%, 91%, 30%) |
| LAB | lab(69.3 -24.5 68.7) |
| LCH | lch(69.3 73.0 109.7) |
| OKLCH | oklch(0.727 0.165 117.2) |
Copy-ready code
/* CSS */
color: #a0b310;
background-color: #a0b310;
/* Tailwind (arbitrary) */
class="text-[#a0b310] bg-[#a0b310]"
/* SCSS */
$brand: #a0b310;
/* SwiftUI */
Color(red: 0.627, green: 0.702, blue: 0.063)
/* Android */
Color.parseColor("#a0b310")Accessibility — WCAG contrast
Aa
#a0b310 on white: 2.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a0b310 on black: 8.95:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.7%
Green70.2%
Blue6.3%
CMYK percentages
Cyan10.6%
Magenta0.0%
Yellow91.1%
Key (black)29.8%
Color previews
#a0b310 text on a black background
contrast 8.95:1
Card sample
#a0b310 text on a white background
contrast 2.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a0b310;
Background color
Panel with #a0b310 background
background-color: #a0b310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a0b310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(160, 179, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(160, 179, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a0b310; background: linear-gradient(135deg, #a0b310, #33B310);