#afb68b
a balanced, soft yellow · cool · closest name: tan
RGB
175, 182, 139
HSL
70°, 23%, 63%
CMYK
4, 0, 24, 29
Luminance
0.4443
Every format
| HEX | #afb68b |
| RGB | rgb(175, 182, 139) |
| HSL | hsl(70, 23%, 63%) |
| CMYK | cmyk(4%, 0%, 24%, 29%) |
| LAB | lab(72.5 -9.8 21.1) |
| LCH | lch(72.5 23.3 114.8) |
| OKLCH | oklch(0.760 0.059 115.3) |
Copy-ready code
/* CSS */
color: #afb68b;
background-color: #afb68b;
/* Tailwind (arbitrary) */
class="text-[#afb68b] bg-[#afb68b]"
/* SCSS */
$brand: #afb68b;
/* SwiftUI */
Color(red: 0.686, green: 0.714, blue: 0.545)
/* Android */
Color.parseColor("#afb68b")Accessibility — WCAG contrast
Aa
#afb68b on white: 2.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afb68b on black: 9.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green71.4%
Blue54.5%
CMYK percentages
Cyan3.8%
Magenta0.0%
Yellow23.6%
Key (black)28.6%
Color previews
#afb68b text on a black background
contrast 9.89:1
Card sample
#afb68b text on a white background
contrast 2.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afb68b;
Background color
Panel with #afb68b background
background-color: #afb68b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afb68b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 182, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 182, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb68b; background: linear-gradient(135deg, #afb68b, #92B68B);