#A6A42A#A6A42A
#A6A42A is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.137 H 108.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A42A |
|---|---|
| RGB | rgb(166, 164, 42) |
| HSL | hsl(59, 60%, 41%) |
| HSV | hsv(59, 75%, 65%) |
| CMYK | cmyk(0%, 1.2%, 74.7%, 34.9%) |
| CIE-LAB | lab(65.61, -13.55, 59.23) |
| CIE-LCH | lch(65.61, 60.76, 102.89°) |
| OKLab | oklab(69.89% -0.0436 0.1302) |
| OKLCH | oklch(69.89% 0.137 108.5) |
| XYZ | xyz(29.4204, 34.8260, 7.3624) |
| Luminance | 0.3483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.67
Puke
#A5A502
ΔE00 2.27
Pea Soup
#929901
ΔE00 4.71
Pea Soup Green
#94A617
ΔE00 4.85
Baby Poop Green
#8F9805
ΔE00 5.29
Puke Green
#9AAE07
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A42A #2A2CA6
analogous
#A6662A #A6A42A #6AA62A
triadic
#A6A42A #2AA6A4 #A42AA6
tetradic
#A6A42A #2AA666 #2A2CA6 #A62A6A
square
#A6A42A #2AA666 #2A2CA6 #A62A6A
split-complementary
#A6A42A #2A6AA6 #662AA6
monochromatic
#444311 #75741E #A6A42A #CECC3F #DBD970
Accessibility & contrast
On white
2.64
#A6A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#A6A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A42A
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A42A | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 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)
#B29D10
Deuteranopia (green-blind)
#B4A134
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a42a; /* rgb */ color: rgb(166, 164, 42); /* oklch */ color: oklch(69.9% 0.137 108.5);
Tailwind
colors: {
custom: {
50: '#c4be6d',
500: '#a6a42a',
950: '#000000',
},
}SCSS
$custom: #a6a42a; $custom-light: #c4be6d; $custom-dark: #000000;
JSON
{
"hex": "#a6a42a",
"rgb": {
"r": 166,
"g": 164,
"b": 42
},
"hsl": {
"h": 59.032,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.69891,
"c": 0.13731,
"h": 108.5
},
"luminance": 0.34825
}Semantic roles & 50–950 ramp
primary
#A6A42A
secondary
#6A6BC2
accent
#48E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B