#d7eb46
a balanced, electric yellow · cool · closest name: yellow
RGB
215, 235, 70
HSL
67°, 81%, 60%
CMYK
9, 0, 70, 8
Luminance
0.7431
Every format
| HEX | #d7eb46 |
| RGB | rgb(215, 235, 70) |
| HSL | hsl(67, 81%, 60%) |
| CMYK | cmyk(9%, 0%, 70%, 8%) |
| LAB | lab(89.1 -26.7 73.4) |
| LCH | lch(89.1 78.1 110.0) |
| OKLCH | oklch(0.897 0.182 116.2) |
Copy-ready code
/* CSS */
color: #d7eb46;
background-color: #d7eb46;
/* Tailwind (arbitrary) */
class="text-[#d7eb46] bg-[#d7eb46]"
/* SCSS */
$brand: #d7eb46;
/* SwiftUI */
Color(red: 0.843, green: 0.922, blue: 0.275)
/* Android */
Color.parseColor("#d7eb46")Accessibility — WCAG contrast
Aa
#d7eb46 on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d7eb46 on black: 15.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red84.3%
Green92.2%
Blue27.5%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow70.2%
Key (black)7.8%
Color previews
#d7eb46 text on a black background
contrast 15.86:1
Card sample
#d7eb46 text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d7eb46;
Background color
Panel with #d7eb46 background
background-color: #d7eb46;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d7eb46;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(215, 235, 70, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 235, 70, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7eb46; background: linear-gradient(135deg, #d7eb46, #69EB46);