#abca0f
a dark, electric yellow · cool · closest name: yellow
RGB
171, 202, 15
HSL
70°, 86%, 43%
CMYK
15, 0, 93, 21
Luminance
0.5093
Every format
| HEX | #abca0f |
| RGB | rgb(171, 202, 15) |
| HSL | hsl(70, 86%, 43%) |
| CMYK | cmyk(15%, 0%, 93%, 21%) |
| LAB | lab(76.6 -31.0 75.0) |
| LCH | lch(76.6 81.1 112.4) |
| OKLCH | oklch(0.788 0.185 120.3) |
Copy-ready code
/* CSS */
color: #abca0f;
background-color: #abca0f;
/* Tailwind (arbitrary) */
class="text-[#abca0f] bg-[#abca0f]"
/* SCSS */
$brand: #abca0f;
/* SwiftUI */
Color(red: 0.671, green: 0.792, blue: 0.059)
/* Android */
Color.parseColor("#abca0f")Accessibility — WCAG contrast
Aa
#abca0f on white: 1.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#abca0f on black: 11.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green79.2%
Blue5.9%
CMYK percentages
Cyan15.3%
Magenta0.0%
Yellow92.6%
Key (black)20.8%
Color previews
#abca0f text on a black background
contrast 11.19:1
Card sample
#abca0f text on a white background
contrast 1.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #abca0f;
Background color
Panel with #abca0f background
background-color: #abca0f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #abca0f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 202, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 202, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abca0f; background: linear-gradient(135deg, #abca0f, #2ECA0F);