#baae21
a dark, vivid yellow · cool · closest name: olive
RGB
186, 174, 33
HSL
55°, 70%, 43%
CMYK
0, 7, 82, 27
Luminance
0.4082
Every format
| HEX | #baae21 |
| RGB | rgb(186, 174, 33) |
| HSL | hsl(55, 70%, 43%) |
| CMYK | cmyk(0%, 7%, 82%, 27%) |
| LAB | lab(70.0 -10.3 66.6) |
| LCH | lch(70.0 67.4 98.8) |
| OKLCH | oklch(0.738 0.148 104.2) |
Copy-ready code
/* CSS */
color: #baae21;
background-color: #baae21;
/* Tailwind (arbitrary) */
class="text-[#baae21] bg-[#baae21]"
/* SCSS */
$brand: #baae21;
/* SwiftUI */
Color(red: 0.729, green: 0.682, blue: 0.129)
/* Android */
Color.parseColor("#baae21")Accessibility — WCAG contrast
Aa
#baae21 on white: 2.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baae21 on black: 9.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green68.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta6.5%
Yellow82.3%
Key (black)27.1%
Color previews
#baae21 text on a black background
contrast 9.16:1
Card sample
#baae21 text on a white background
contrast 2.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baae21;
Background color
Panel with #baae21 background
background-color: #baae21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baae21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 174, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 174, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baae21; background: linear-gradient(135deg, #baae21, #60BA21);