#A6A02A#A6A02A
#A6A02A is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.133 H 106.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A02A |
|---|---|
| RGB | rgb(166, 160, 42) |
| HSL | hsl(57, 60%, 41%) |
| HSV | hsv(57, 75%, 65%) |
| CMYK | cmyk(0%, 3.6%, 74.7%, 34.9%) |
| CIE-LAB | lab(64.50, -11.47, 58.18) |
| CIE-LCH | lch(64.50, 59.30, 101.15°) |
| OKLab | oklab(69% -0.0378 0.128) |
| OKLCH | oklch(69% 0.133 106.4) |
| XYZ | xyz(28.7158, 33.4168, 7.1275) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.66
Puke
#A5A502
ΔE00 3.05
Pea Soup
#929901
ΔE00 4.67
Baby Poop Green
#8F9805
ΔE00 5.26
Pea Soup Green
#94A617
ΔE00 5.95
Muddy Yellow
#BFAC05
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A02A #2A30A6
analogous
#A6622A #A6A02A #6EA62A
triadic
#A6A02A #2AA6A0 #A02AA6
tetradic
#A6A02A #2AA662 #2A30A6 #A62A6E
square
#A6A02A #2AA662 #2A30A6 #A62A6E
split-complementary
#A6A02A #2A6EA6 #622AA6
monochromatic
#444211 #75711E #A6A02A #CEC73F #DBD670
Accessibility & contrast
On white
2.73
#A6A02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#A6A02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A02A
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A02A | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B29589
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a6a02a; /* rgb */ color: rgb(166, 160, 42); /* oklch */ color: oklch(69.0% 0.133 106.4);
Tailwind
colors: {
custom: {
50: '#c4bb6d',
500: '#a6a02a',
950: '#000000',
},
}SCSS
$custom: #a6a02a; $custom-light: #c4bb6d; $custom-dark: #000000;
JSON
{
"hex": "#a6a02a",
"rgb": {
"r": 166,
"g": 160,
"b": 42
},
"hsl": {
"h": 57.097,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.69001,
"c": 0.13343,
"h": 106.4
},
"luminance": 0.33416
}Semantic roles & 50–950 ramp
primary
#A6A02A
secondary
#6A6EC2
accent
#4DE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A