#dace2b
a balanced, vivid yellow · cool · closest name: gold
RGB
218, 206, 43
HSL
56°, 70%, 51%
CMYK
0, 6, 80, 15
Luminance
0.5922
Every format
| HEX | #dace2b |
| RGB | rgb(218, 206, 43) |
| HSL | hsl(56, 70%, 51%) |
| CMYK | cmyk(0%, 6%, 80%, 15%) |
| LAB | lab(81.4 -12.5 74.8) |
| LCH | lch(81.4 75.8 99.5) |
| OKLCH | oklch(0.836 0.167 104.9) |
Copy-ready code
/* CSS */
color: #dace2b;
background-color: #dace2b;
/* Tailwind (arbitrary) */
class="text-[#dace2b] bg-[#dace2b]"
/* SCSS */
$brand: #dace2b;
/* SwiftUI */
Color(red: 0.855, green: 0.808, blue: 0.169)
/* Android */
Color.parseColor("#dace2b")Accessibility — WCAG contrast
Aa
#dace2b on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dace2b on black: 12.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red85.5%
Green80.8%
Blue16.9%
CMYK percentages
Cyan0.0%
Magenta5.5%
Yellow80.3%
Key (black)14.5%
Color previews
#dace2b text on a black background
contrast 12.84:1
Card sample
#dace2b text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dace2b;
Background color
Panel with #dace2b background
background-color: #dace2b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dace2b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(218, 206, 43, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 206, 43, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dace2b; background: linear-gradient(135deg, #dace2b, #71DA2B);