#A6A529#A6A529
#A6A529 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.139 H 109.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A529 |
|---|---|
| RGB | rgb(166, 165, 41) |
| HSL | hsl(60, 60%, 41%) |
| HSV | hsv(60, 75%, 65%) |
| CMYK | cmyk(0%, 0.6%, 75.3%, 34.9%) |
| CIE-LAB | lab(65.89, -14.12, 59.83) |
| CIE-LCH | lch(65.89, 61.47, 103.28°) |
| OKLab | oklab(70.11% -0.0453 0.1313) |
| OKLCH | oklch(70.11% 0.139 109) |
| XYZ | xyz(29.5824, 35.1783, 7.3292) |
| Luminance | 0.3518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.49
Puke
#A5A502
ΔE00 2.11
Pea Soup Green
#94A617
ΔE00 4.61
Pea Soup
#929901
ΔE00 4.78
Puke Green
#9AAE07
ΔE00 5.23
Baby Poop Green
#8F9805
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A529 #292AA6
analogous
#A66629 #A6A529 #68A629
triadic
#A6A529 #29A6A5 #A529A6
tetradic
#A6A529 #29A666 #292AA6 #A62968
square
#A6A529 #29A666 #292AA6 #A62968
split-complementary
#A6A529 #2968A6 #6629A6
monochromatic
#444311 #75741D #A6A529 #CFCE3D #DBDA6E
Accessibility & contrast
On white
2.61
#A6A529 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#A6A529 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A529
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A529 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A529 | 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)
#B39E0C
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a529; /* rgb */ color: rgb(166, 165, 41); /* oklch */ color: oklch(70.1% 0.139 109.0);
Tailwind
colors: {
custom: {
50: '#c4bf6d',
500: '#a6a529',
950: '#000000',
},
}SCSS
$custom: #a6a529; $custom-light: #c4bf6d; $custom-dark: #000000;
JSON
{
"hex": "#a6a529",
"rgb": {
"r": 166,
"g": 165,
"b": 41
},
"hsl": {
"h": 59.52,
"s": 60.386,
"l": 40.588
},
"oklch": {
"l": 0.70108,
"c": 0.13886,
"h": 109
},
"luminance": 0.35177
}Semantic roles & 50–950 ramp
primary
#A6A529
secondary
#6969C2
accent
#46E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B