#bfd142
a balanced, vivid yellow · cool · closest name: khaki
RGB
191, 209, 66
HSL
68°, 61%, 54%
CMYK
9, 0, 68, 18
Luminance
0.5707
Every format
| HEX | #bfd142 |
| RGB | rgb(191, 209, 66) |
| HSL | hsl(68, 61%, 54%) |
| CMYK | cmyk(9%, 0%, 68%, 18%) |
| LAB | lab(80.2 -24.3 65.5) |
| LCH | lch(80.2 69.8 110.3) |
| OKLCH | oklch(0.821 0.164 116.3) |
Copy-ready code
/* CSS */
color: #bfd142;
background-color: #bfd142;
/* Tailwind (arbitrary) */
class="text-[#bfd142] bg-[#bfd142]"
/* SCSS */
$brand: #bfd142;
/* SwiftUI */
Color(red: 0.749, green: 0.820, blue: 0.259)
/* Android */
Color.parseColor("#bfd142")Accessibility — WCAG contrast
Aa
#bfd142 on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bfd142 on black: 12.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.9%
Green82.0%
Blue25.9%
CMYK percentages
Cyan8.6%
Magenta0.0%
Yellow68.4%
Key (black)18.0%
Color previews
#bfd142 text on a black background
contrast 12.41:1
Card sample
#bfd142 text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bfd142;
Background color
Panel with #bfd142 background
background-color: #bfd142;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bfd142;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(191, 209, 66, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 209, 66, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfd142; background: linear-gradient(135deg, #bfd142, #5FD142);