#515921
a deep, vivid yellow · cool · closest name: olive
RGB
81, 89, 33
HSL
69°, 46%, 24%
CMYK
9, 0, 63, 65
Luminance
0.0900
Every format
| HEX | #515921 |
| RGB | rgb(81, 89, 33) |
| HSL | hsl(69, 46%, 24%) |
| CMYK | cmyk(9%, 0%, 63%, 65%) |
| LAB | lab(36.0 -12.2 30.6) |
| LCH | lch(36.0 33.0 111.6) |
| OKLCH | oklch(0.444 0.079 116.6) |
Copy-ready code
/* CSS */
color: #515921;
background-color: #515921;
/* Tailwind (arbitrary) */
class="text-[#515921] bg-[#515921]"
/* SCSS */
$brand: #515921;
/* SwiftUI */
Color(red: 0.318, green: 0.349, blue: 0.129)
/* Android */
Color.parseColor("#515921")Accessibility — WCAG contrast
Aa
#515921 on white: 7.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#515921 on black: 2.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.8%
Green34.9%
Blue12.9%
CMYK percentages
Cyan9.0%
Magenta0.0%
Yellow62.9%
Key (black)65.1%
Color previews
#515921 text on a black background
contrast 2.80:1
Card sample
#515921 text on a white background
contrast 7.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #515921;
Background color
Panel with #515921 background
background-color: #515921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #515921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(81, 89, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 89, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #515921; background: linear-gradient(135deg, #515921, #2C5921);