#A6A342#A6A342
#A6A342 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.119 H 107.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A342 |
|---|---|
| RGB | rgb(166, 163, 66) |
| HSL | hsl(58, 43%, 45%) |
| HSV | hsv(58, 60%, 65%) |
| CMYK | cmyk(0%, 1.8%, 60.2%, 34.9%) |
| CIE-LAB | lab(65.51, -11.64, 49.47) |
| CIE-LCH | lch(65.51, 50.82, 103.24°) |
| OKLab | oklab(69.87% -0.0357 0.1135) |
| OKLCH | oklch(69.87% 0.119 107.5) |
| XYZ | xyz(29.8074, 34.6956, 10.2800) |
| Luminance | 0.3469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.35
Khaki (survey)
#AAA662
ΔE00 4.93
Puke
#A5A502
ΔE00 5.09
Pea Soup
#929901
ΔE00 6.04
Pea Soup Green
#94A617
ΔE00 6.09
Baby Poop Green
#8F9805
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A342 #4245A6
analogous
#A67142 #A6A342 #77A642
triadic
#A6A342 #42A6A3 #A342A6
tetradic
#A6A342 #42A671 #4245A6 #A64277
square
#A6A342 #42A671 #4245A6 #A64277
split-complementary
#A6A342 #4277A6 #7142A6
monochromatic
#4E4D1F #7A7831 #A6A342 #C1BF64 #D3D190
Accessibility & contrast
On white
2.65
#A6A342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#A6A342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A342
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A342 | 1.00 | 2.65 | 7.94 | 7.94 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B2A148
Tritanopia (blue-blind)
#B1998E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a342; /* rgb */ color: rgb(166, 163, 66); /* oklch */ color: oklch(69.9% 0.119 107.5);
Tailwind
colors: {
custom: {
50: '#c3be7a',
500: '#a6a342',
950: '#000000',
},
}SCSS
$custom: #a6a342; $custom-light: #c3be7a; $custom-dark: #000000;
JSON
{
"hex": "#a6a342",
"rgb": {
"r": 166,
"g": 163,
"b": 66
},
"hsl": {
"h": 58.2,
"s": 43.103,
"l": 45.49
},
"oklch": {
"l": 0.69866,
"c": 0.11901,
"h": 107.5
},
"luminance": 0.34695
}Semantic roles & 50–950 ramp
primary
#A6A342
secondary
#8687BE
accent
#59D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B