#afb264
a balanced, soft yellow · cool · closest name: khaki
RGB
175, 178, 100
HSL
62°, 34%, 55%
CMYK
2, 0, 44, 30
Luminance
0.4187
Every format
| HEX | #afb264 |
| RGB | rgb(175, 178, 100) |
| HSL | hsl(62, 34%, 55%) |
| CMYK | cmyk(2%, 0%, 44%, 30%) |
| LAB | lab(70.8 -12.6 39.4) |
| LCH | lch(70.8 41.4 107.8) |
| OKLCH | oklch(0.744 0.101 110.5) |
Copy-ready code
/* CSS */
color: #afb264;
background-color: #afb264;
/* Tailwind (arbitrary) */
class="text-[#afb264] bg-[#afb264]"
/* SCSS */
$brand: #afb264;
/* SwiftUI */
Color(red: 0.686, green: 0.698, blue: 0.392)
/* Android */
Color.parseColor("#afb264")Accessibility — WCAG contrast
Aa
#afb264 on white: 2.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afb264 on black: 9.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green69.8%
Blue39.2%
CMYK percentages
Cyan1.7%
Magenta0.0%
Yellow43.8%
Key (black)30.2%
Color previews
#afb264 text on a black background
contrast 9.37:1
Card sample
#afb264 text on a white background
contrast 2.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afb264;
Background color
Panel with #afb264 background
background-color: #afb264;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afb264;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 178, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 178, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb264; background: linear-gradient(135deg, #afb264, #7BB264);