#abab68
a balanced, soft yellow · cool · closest name: tan
RGB
171, 171, 104
HSL
60°, 29%, 54%
CMYK
0, 0, 39, 33
Luminance
0.3878
Every format
| HEX | #abab68 |
| RGB | rgb(171, 171, 104) |
| HSL | hsl(60, 29%, 54%) |
| CMYK | cmyk(0%, 0%, 39%, 33%) |
| LAB | lab(68.6 -10.2 34.5) |
| LCH | lch(68.6 36.0 106.5) |
| OKLCH | oklch(0.726 0.089 108.4) |
Copy-ready code
/* CSS */
color: #abab68;
background-color: #abab68;
/* Tailwind (arbitrary) */
class="text-[#abab68] bg-[#abab68]"
/* SCSS */
$brand: #abab68;
/* SwiftUI */
Color(red: 0.671, green: 0.671, blue: 0.408)
/* Android */
Color.parseColor("#abab68")Accessibility — WCAG contrast
Aa
#abab68 on white: 2.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#abab68 on black: 8.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green67.1%
Blue40.8%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow39.2%
Key (black)32.9%
Color previews
#abab68 text on a black background
contrast 8.76:1
Card sample
#abab68 text on a white background
contrast 2.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #abab68;
Background color
Panel with #abab68 background
background-color: #abab68;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #abab68;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 171, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 171, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abab68; background: linear-gradient(135deg, #abab68, #7EAB68);