#6e6421
a dark, vivid yellow · cool · closest name: olive
RGB
110, 100, 33
HSL
52°, 54%, 28%
CMYK
0, 9, 70, 57
Luminance
0.1254
Every format
| HEX | #6e6421 |
| RGB | rgb(110, 100, 33) |
| HSL | hsl(52, 54%, 28%) |
| CMYK | cmyk(0%, 9%, 70%, 57%) |
| LAB | lab(42.1 -4.7 38.0) |
| LCH | lch(42.1 38.3 97.0) |
| OKLCH | oklch(0.499 0.087 100.7) |
Copy-ready code
/* CSS */
color: #6e6421;
background-color: #6e6421;
/* Tailwind (arbitrary) */
class="text-[#6e6421] bg-[#6e6421]"
/* SCSS */
$brand: #6e6421;
/* SwiftUI */
Color(red: 0.431, green: 0.392, blue: 0.129)
/* Android */
Color.parseColor("#6e6421")Accessibility — WCAG contrast
Aa
#6e6421 on white: 5.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6e6421 on black: 3.51:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.1%
Green39.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta9.1%
Yellow70.0%
Key (black)56.9%
Color previews
#6e6421 text on a black background
contrast 3.51:1
Card sample
#6e6421 text on a white background
contrast 5.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6e6421;
Background color
Panel with #6e6421 background
background-color: #6e6421;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6e6421;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(110, 100, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(110, 100, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6e6421; background: linear-gradient(135deg, #6e6421, #456E21);