#a8b261
a balanced, soft yellow · cool · closest name: khaki
RGB
168, 178, 97
HSL
67°, 35%, 54%
CMYK
6, 0, 46, 30
Luminance
0.4103
Every format
| HEX | #a8b261 |
| RGB | rgb(168, 178, 97) |
| HSL | hsl(67, 35%, 54%) |
| CMYK | cmyk(6%, 0%, 46%, 30%) |
| LAB | lab(70.2 -15.8 40.0) |
| LCH | lch(70.2 43.0 111.6) |
| OKLCH | oklch(0.738 0.106 114.8) |
Copy-ready code
/* CSS */
color: #a8b261;
background-color: #a8b261;
/* Tailwind (arbitrary) */
class="text-[#a8b261] bg-[#a8b261]"
/* SCSS */
$brand: #a8b261;
/* SwiftUI */
Color(red: 0.659, green: 0.698, blue: 0.380)
/* Android */
Color.parseColor("#a8b261")Accessibility — WCAG contrast
Aa
#a8b261 on white: 2.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a8b261 on black: 9.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green69.8%
Blue38.0%
CMYK percentages
Cyan5.6%
Magenta0.0%
Yellow45.5%
Key (black)30.2%
Color previews
#a8b261 text on a black background
contrast 9.21:1
Card sample
#a8b261 text on a white background
contrast 2.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a8b261;
Background color
Panel with #a8b261 background
background-color: #a8b261;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a8b261;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 178, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 178, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a8b261; background: linear-gradient(135deg, #a8b261, #72B261);