#8f8621
a dark, vivid yellow · cool · closest name: olive
RGB
143, 134, 33
HSL
55°, 63%, 35%
CMYK
0, 6, 77, 44
Luminance
0.2300
Every format
| HEX | #8f8621 |
| RGB | rgb(143, 134, 33) |
| HSL | hsl(55, 63%, 35%) |
| CMYK | cmyk(0%, 6%, 77%, 44%) |
| LAB | lab(55.1 -8.3 51.8) |
| LCH | lch(55.1 52.5 99.1) |
| OKLCH | oklch(0.610 0.117 104.1) |
Copy-ready code
/* CSS */
color: #8f8621;
background-color: #8f8621;
/* Tailwind (arbitrary) */
class="text-[#8f8621] bg-[#8f8621]"
/* SCSS */
$brand: #8f8621;
/* SwiftUI */
Color(red: 0.561, green: 0.525, blue: 0.129)
/* Android */
Color.parseColor("#8f8621")Accessibility — WCAG contrast
Aa
#8f8621 on white: 3.75:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8f8621 on black: 5.60:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green52.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta6.3%
Yellow76.9%
Key (black)43.9%
Color previews
#8f8621 text on a black background
contrast 5.60:1
Card sample
#8f8621 text on a white background
contrast 3.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8f8621;
Background color
Panel with #8f8621 background
background-color: #8f8621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8f8621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 134, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 134, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f8621; background: linear-gradient(135deg, #8f8621, #4F8F21);