#6f6621
a dark, vivid yellow · cool · closest name: olive
RGB
111, 102, 33
HSL
53°, 54%, 28%
CMYK
0, 8, 70, 57
Luminance
0.1299
Every format
| HEX | #6f6621 |
| RGB | rgb(111, 102, 33) |
| HSL | hsl(53, 54%, 28%) |
| CMYK | cmyk(0%, 8%, 70%, 57%) |
| LAB | lab(42.8 -5.4 38.7) |
| LCH | lch(42.8 39.1 97.9) |
| OKLCH | oklch(0.505 0.089 101.8) |
Copy-ready code
/* CSS */
color: #6f6621;
background-color: #6f6621;
/* Tailwind (arbitrary) */
class="text-[#6f6621] bg-[#6f6621]"
/* SCSS */
$brand: #6f6621;
/* SwiftUI */
Color(red: 0.435, green: 0.400, blue: 0.129)
/* Android */
Color.parseColor("#6f6621")Accessibility — WCAG contrast
Aa
#6f6621 on white: 5.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6f6621 on black: 3.60:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.5%
Green40.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta8.1%
Yellow70.3%
Key (black)56.5%
Color previews
#6f6621 text on a black background
contrast 3.60:1
Card sample
#6f6621 text on a white background
contrast 5.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6f6621;
Background color
Panel with #6f6621 background
background-color: #6f6621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6f6621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(111, 102, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 102, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6f6621; background: linear-gradient(135deg, #6f6621, #446F21);