#A6A02E#A6A02E
#A6A02E is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.131 H 106.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A02E |
|---|---|
| RGB | rgb(166, 160, 46) |
| HSL | hsl(57, 57%, 42%) |
| HSV | hsv(57, 72%, 65%) |
| CMYK | cmyk(0%, 3.6%, 72.3%, 34.9%) |
| CIE-LAB | lab(64.52, -11.28, 56.76) |
| CIE-LCH | lch(64.52, 57.87, 101.24°) |
| OKLab | oklab(69.03% -0.0368 0.1257) |
| OKLCH | oklch(69.03% 0.131 106.3) |
| XYZ | xyz(28.7910, 33.4469, 7.5236) |
| Luminance | 0.3345 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.91
Puke
#A5A502
ΔE00 3.37
Pea Soup
#929901
ΔE00 4.80
Baby Poop Green
#8F9805
ΔE00 5.35
Pea Soup Green
#94A617
ΔE00 6.01
Muddy Yellow
#BFAC05
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A02E #2E34A6
analogous
#A6642E #A6A02E #70A62E
triadic
#A6A02E #2EA6A0 #A02EA6
tetradic
#A6A02E #2EA664 #2E34A6 #A62E70
square
#A6A02E #2EA664 #2E34A6 #A62E70
split-complementary
#A6A02E #2E70A6 #642EA6
monochromatic
#464413 #767221 #A6A02E #CCC546 #D9D476
Accessibility & contrast
On white
2.73
#A6A02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#A6A02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A02E
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A02E | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B09F36
Tritanopia (blue-blind)
#B2958A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a6a02e; /* rgb */ color: rgb(166, 160, 46); /* oklch */ color: oklch(69.0% 0.131 106.3);
Tailwind
colors: {
custom: {
50: '#c4bb6f',
500: '#a6a02e',
950: '#000000',
},
}SCSS
$custom: #a6a02e; $custom-light: #c4bb6f; $custom-dark: #000000;
JSON
{
"hex": "#a6a02e",
"rgb": {
"r": 166,
"g": 160,
"b": 46
},
"hsl": {
"h": 57,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.69028,
"c": 0.13099,
"h": 106.3
},
"luminance": 0.33446
}Semantic roles & 50–950 ramp
primary
#A6A02E
secondary
#6F73C1
accent
#50E048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B