#A6A71C#A6A71C
#A6A71C is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.5% C 0.147 H 110.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A71C |
|---|---|
| RGB | rgb(166, 167, 28) |
| HSL | hsl(60, 71%, 38%) |
| HSV | hsv(60, 83%, 65%) |
| CMYK | cmyk(0.6%, 0%, 83.2%, 34.5%) |
| CIE-LAB | lab(66.39, -15.62, 64.10) |
| CIE-LCH | lch(66.39, 65.98, 103.70°) |
| OKLab | oklab(70.49% -0.0505 0.138) |
| OKLCH | oklch(70.49% 0.147 110.1) |
| XYZ | xyz(29.7554, 35.8292, 6.4467) |
| Luminance | 0.3583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.00
Puke
#A5A502
ΔE00 1.21
Pea Soup Green
#94A617
ΔE00 4.30
Puke Green
#9AAE07
ΔE00 4.45
Mustard Green
#A8B504
ΔE00 4.52
Pea Soup
#929901
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A71C #1D1CA7
analogous
#A7631C #A6A71C #60A71C
triadic
#A6A71C #1CA6A7 #A71CA6
tetradic
#A6A71C #1CA763 #1D1CA7 #A71C60
square
#A6A71C #1CA763 #1D1CA7 #A71C60
split-complementary
#A6A71C #1C60A7 #631CA7
monochromatic
#3E3E0A #727313 #A6A71C #D9DB26 #E2E35A
Accessibility & contrast
On white
2.57
#A6A71C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#A6A71C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A71C
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A71C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A71C | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32A
Tritanopia (blue-blind)
#B29C8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a71c; /* rgb */ color: rgb(166, 167, 28); /* oklch */ color: oklch(70.5% 0.147 110.1);
Tailwind
colors: {
custom: {
50: '#c4c068',
500: '#a6a71c',
950: '#000000',
},
}SCSS
$custom: #a6a71c; $custom-light: #c4c068; $custom-dark: #000000;
JSON
{
"hex": "#a6a71c",
"rgb": {
"r": 166,
"g": 167,
"b": 28
},
"hsl": {
"h": 60.432,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.70491,
"c": 0.14697,
"h": 110.1
},
"luminance": 0.35828
}Semantic roles & 50–950 ramp
primary
#A6A71C
secondary
#5958C7
accent
#3AEE3B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A