#6e6821
a dark, vivid yellow · cool · closest name: olive
RGB
110, 104, 33
HSL
55°, 54%, 28%
CMYK
0, 6, 70, 57
Luminance
0.1333
Every format
| HEX | #6e6821 |
| RGB | rgb(110, 104, 33) |
| HSL | hsl(55, 54%, 28%) |
| CMYK | cmyk(0%, 6%, 70%, 57%) |
| LAB | lab(43.3 -7.0 39.2) |
| LCH | lch(43.3 39.8 100.1) |
| OKLCH | oklch(0.508 0.091 104.5) |
Copy-ready code
/* CSS */
color: #6e6821;
background-color: #6e6821;
/* Tailwind (arbitrary) */
class="text-[#6e6821] bg-[#6e6821]"
/* SCSS */
$brand: #6e6821;
/* SwiftUI */
Color(red: 0.431, green: 0.408, blue: 0.129)
/* Android */
Color.parseColor("#6e6821")Accessibility — WCAG contrast
Aa
#6e6821 on white: 5.73:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6e6821 on black: 3.67:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.1%
Green40.8%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta5.5%
Yellow70.0%
Key (black)56.9%
Color previews
#6e6821 text on a black background
contrast 3.67:1
Card sample
#6e6821 text on a white background
contrast 5.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6e6821;
Background color
Panel with #6e6821 background
background-color: #6e6821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6e6821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(110, 104, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(110, 104, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6e6821; background: linear-gradient(135deg, #6e6821, #416E21);