#867821
a dark, vivid yellow · cool · closest name: olive
RGB
134, 120, 33
HSL
52°, 61%, 33%
CMYK
0, 10, 75, 48
Luminance
0.1861
Every format
| HEX | #867821 |
| RGB | rgb(134, 120, 33) |
| HSL | hsl(52, 61%, 33%) |
| CMYK | cmyk(0%, 10%, 75%, 48%) |
| LAB | lab(50.2 -4.7 46.9) |
| LCH | lch(50.2 47.1 95.8) |
| OKLCH | oklch(0.569 0.105 99.8) |
Copy-ready code
/* CSS */
color: #867821;
background-color: #867821;
/* Tailwind (arbitrary) */
class="text-[#867821] bg-[#867821]"
/* SCSS */
$brand: #867821;
/* SwiftUI */
Color(red: 0.525, green: 0.471, blue: 0.129)
/* Android */
Color.parseColor("#867821")Accessibility — WCAG contrast
Aa
#867821 on white: 4.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#867821 on black: 4.72:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red52.5%
Green47.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta10.4%
Yellow75.4%
Key (black)47.5%
Color previews
#867821 text on a black background
contrast 4.72:1
Card sample
#867821 text on a white background
contrast 4.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #867821;
Background color
Panel with #867821 background
background-color: #867821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #867821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(134, 120, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(134, 120, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #867821; background: linear-gradient(135deg, #867821, #518621);