#6c6421
a dark, vivid yellow · cool · closest name: olive
RGB
108, 100, 33
HSL
54°, 53%, 28%
CMYK
0, 7, 69, 58
Luminance
0.1241
Every format
| HEX | #6c6421 |
| RGB | rgb(108, 100, 33) |
| HSL | hsl(54, 53%, 28%) |
| CMYK | cmyk(0%, 7%, 69%, 58%) |
| LAB | lab(41.9 -5.6 37.7) |
| LCH | lch(41.9 38.1 98.5) |
| OKLCH | oklch(0.497 0.087 102.5) |
Copy-ready code
/* CSS */
color: #6c6421;
background-color: #6c6421;
/* Tailwind (arbitrary) */
class="text-[#6c6421] bg-[#6c6421]"
/* SCSS */
$brand: #6c6421;
/* SwiftUI */
Color(red: 0.424, green: 0.392, blue: 0.129)
/* Android */
Color.parseColor("#6c6421")Accessibility — WCAG contrast
Aa
#6c6421 on white: 6.03:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6c6421 on black: 3.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red42.4%
Green39.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta7.4%
Yellow69.4%
Key (black)57.6%
Color previews
#6c6421 text on a black background
contrast 3.48:1
Card sample
#6c6421 text on a white background
contrast 6.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6c6421;
Background color
Panel with #6c6421 background
background-color: #6c6421;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6c6421;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(108, 100, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 100, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c6421; background: linear-gradient(135deg, #6c6421, #426C21);