#A6A42E#A6A42E
#A6A42E is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.135 H 108.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A42E |
|---|---|
| RGB | rgb(166, 164, 46) |
| HSL | hsl(59, 57%, 42%) |
| HSV | hsv(59, 72%, 65%) |
| CMYK | cmyk(0%, 1.2%, 72.3%, 34.9%) |
| CIE-LAB | lab(65.64, -13.37, 57.84) |
| CIE-LCH | lch(65.64, 59.36, 103.01°) |
| OKLab | oklab(69.92% -0.0427 0.128) |
| OKLCH | oklch(69.92% 0.135 108.5) |
| XYZ | xyz(29.4956, 34.8561, 7.7584) |
| Luminance | 0.3486 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.00
Puke
#A5A502
ΔE00 2.65
Pea Soup
#929901
ΔE00 4.82
Pea Soup Green
#94A617
ΔE00 4.90
Baby Poop Green
#8F9805
ΔE00 5.36
Puke Green
#9AAE07
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A42E #2E30A6
analogous
#A6682E #A6A42E #6CA62E
triadic
#A6A42E #2EA6A4 #A42EA6
tetradic
#A6A42E #2EA668 #2E30A6 #A62E6C
square
#A6A42E #2EA668 #2E30A6 #A62E6C
split-complementary
#A6A42E #2E6CA6 #682EA6
monochromatic
#464513 #767521 #A6A42E #CCC946 #D9D776
Accessibility & contrast
On white
2.63
#A6A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#A6A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A42E
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A42E | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D18
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a42e; /* rgb */ color: rgb(166, 164, 46); /* oklch */ color: oklch(69.9% 0.135 108.5);
Tailwind
colors: {
custom: {
50: '#c4be6f',
500: '#a6a42e',
950: '#000000',
},
}SCSS
$custom: #a6a42e; $custom-light: #c4be6f; $custom-dark: #000000;
JSON
{
"hex": "#a6a42e",
"rgb": {
"r": 166,
"g": 164,
"b": 46
},
"hsl": {
"h": 59,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.69917,
"c": 0.13492,
"h": 108.5
},
"luminance": 0.34855
}Semantic roles & 50–950 ramp
primary
#A6A42E
secondary
#6F70C1
accent
#4AE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B