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