#aaa277
a balanced, soft yellow · cool · closest name: tan
RGB
170, 162, 119
HSL
51°, 23%, 57%
CMYK
0, 5, 30, 33
Luminance
0.3572
Every format
| HEX | #aaa277 |
| RGB | rgb(170, 162, 119) |
| HSL | hsl(51, 23%, 57%) |
| CMYK | cmyk(0%, 5%, 30%, 33%) |
| LAB | lab(66.3 -4.0 23.5) |
| LCH | lch(66.3 23.8 99.6) |
| OKLCH | oklch(0.708 0.060 98.8) |
Copy-ready code
/* CSS */
color: #aaa277;
background-color: #aaa277;
/* Tailwind (arbitrary) */
class="text-[#aaa277] bg-[#aaa277]"
/* SCSS */
$brand: #aaa277;
/* SwiftUI */
Color(red: 0.667, green: 0.635, blue: 0.467)
/* Android */
Color.parseColor("#aaa277")Accessibility — WCAG contrast
Aa
#aaa277 on white: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aaa277 on black: 8.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green63.5%
Blue46.7%
CMYK percentages
Cyan0.0%
Magenta4.7%
Yellow30.0%
Key (black)33.3%
Color previews
#aaa277 text on a black background
contrast 8.14:1
Card sample
#aaa277 text on a white background
contrast 2.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aaa277;
Background color
Panel with #aaa277 background
background-color: #aaa277;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aaa277;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 162, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 162, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aaa277; background: linear-gradient(135deg, #aaa277, #90AA77);