#867f21
a dark, vivid yellow · cool · closest name: olive
RGB
134, 127, 33
HSL
56°, 61%, 33%
CMYK
0, 5, 75, 48
Luminance
0.2036
Every format
| HEX | #867f21 |
| RGB | rgb(134, 127, 33) |
| HSL | hsl(56, 61%, 33%) |
| CMYK | cmyk(0%, 5%, 75%, 48%) |
| LAB | lab(52.2 -8.6 48.8) |
| LCH | lch(52.2 49.6 100.0) |
| OKLCH | oklch(0.585 0.112 105.0) |
Copy-ready code
/* CSS */
color: #867f21;
background-color: #867f21;
/* Tailwind (arbitrary) */
class="text-[#867f21] bg-[#867f21]"
/* SCSS */
$brand: #867f21;
/* SwiftUI */
Color(red: 0.525, green: 0.498, blue: 0.129)
/* Android */
Color.parseColor("#867f21")Accessibility — WCAG contrast
Aa
#867f21 on white: 4.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#867f21 on black: 5.07:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red52.5%
Green49.8%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta5.2%
Yellow75.4%
Key (black)47.5%
Color previews
#867f21 text on a black background
contrast 5.07:1
Card sample
#867f21 text on a white background
contrast 4.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #867f21;
Background color
Panel with #867f21 background
background-color: #867f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #867f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(134, 127, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(134, 127, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #867f21; background: linear-gradient(135deg, #867f21, #4A8621);