#A6A52E#A6A52E
#A6A52E is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.136 H 109.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A52E |
|---|---|
| RGB | rgb(166, 165, 46) |
| HSL | hsl(60, 57%, 42%) |
| HSV | hsv(60, 72%, 65%) |
| CMYK | cmyk(0%, 0.6%, 72.3%, 34.9%) |
| CIE-LAB | lab(65.92, -13.89, 58.11) |
| CIE-LCH | lch(65.92, 59.74, 103.44°) |
| OKLab | oklab(70.14% -0.0442 0.1286) |
| OKLCH | oklch(70.14% 0.136 109) |
| XYZ | xyz(29.6752, 35.2154, 7.8183) |
| Luminance | 0.3522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.89
Puke
#A5A502
ΔE00 2.58
Pea Soup Green
#94A617
ΔE00 4.67
Pea Soup
#929901
ΔE00 4.90
Puke Green
#9AAE07
ΔE00 5.37
Baby Poop Green
#8F9805
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A52E #2E2FA6
analogous
#A6692E #A6A52E #6BA62E
triadic
#A6A52E #2EA6A5 #A52EA6
tetradic
#A6A52E #2EA669 #2E2FA6 #A62E6B
square
#A6A52E #2EA669 #2E2FA6 #A62E6B
split-complementary
#A6A52E #2E6BA6 #692EA6
monochromatic
#464613 #767521 #A6A52E #CCCB46 #D9D876
Accessibility & contrast
On white
2.61
#A6A52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#A6A52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A52E
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A52E | 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)
#B39E18
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a52e; /* rgb */ color: rgb(166, 165, 46); /* oklch */ color: oklch(70.1% 0.136 109.0);
Tailwind
colors: {
custom: {
50: '#c4bf6f',
500: '#a6a52e',
950: '#000000',
},
}SCSS
$custom: #a6a52e; $custom-light: #c4bf6f; $custom-dark: #000000;
JSON
{
"hex": "#a6a52e",
"rgb": {
"r": 166,
"g": 165,
"b": 46
},
"hsl": {
"h": 59.5,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.7014,
"c": 0.13593,
"h": 109
},
"luminance": 0.35215
}Semantic roles & 50–950 ramp
primary
#A6A52E
secondary
#6F70C1
accent
#49E048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B