#A6A52F#A6A52F
#A6A52F is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.135 H 108.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A52F |
|---|---|
| RGB | rgb(166, 165, 47) |
| HSL | hsl(59, 56%, 42%) |
| HSV | hsv(59, 72%, 65%) |
| CMYK | cmyk(0%, 0.6%, 71.7%, 34.9%) |
| CIE-LAB | lab(65.92, -13.84, 57.75) |
| CIE-LCH | lch(65.92, 59.38, 103.48°) |
| OKLab | oklab(70.15% -0.0439 0.128) |
| OKLCH | oklch(70.15% 0.135 108.9) |
| XYZ | xyz(29.6952, 35.2234, 7.9233) |
| Luminance | 0.3522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.98
Puke
#A5A502
ΔE00 2.68
Pea Soup Green
#94A617
ΔE00 4.68
Pea Soup
#929901
ΔE00 4.94
Puke Green
#9AAE07
ΔE00 5.41
Baby Poop Green
#8F9805
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A52F #2F30A6
analogous
#A66A2F #A6A52F #6CA62F
triadic
#A6A52F #2FA6A5 #A52FA6
tetradic
#A6A52F #2FA66A #2F30A6 #A62F6C
square
#A6A52F #2FA66A #2F30A6 #A62F6C
split-complementary
#A6A52F #2F6CA6 #6A2FA6
monochromatic
#474614 #767621 #A6A52F #CBCA47 #D8D877
Accessibility & contrast
On white
2.61
#A6A52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#A6A52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A52F
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A52F | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a52f; /* rgb */ color: rgb(166, 165, 47); /* oklch */ color: oklch(70.1% 0.135 108.9);
Tailwind
colors: {
custom: {
50: '#c4bf70',
500: '#a6a52f',
950: '#000000',
},
}SCSS
$custom: #a6a52f; $custom-light: #c4bf70; $custom-dark: #000000;
JSON
{
"hex": "#a6a52f",
"rgb": {
"r": 166,
"g": 165,
"b": 47
},
"hsl": {
"h": 59.496,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.70147,
"c": 0.1353,
"h": 108.9
},
"luminance": 0.35222
}Semantic roles & 50–950 ramp
primary
#A6A52F
secondary
#7071C1
accent
#4ADF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B