#A6A72A#A6A72A
#A6A72A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.6% C 0.140 H 110.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A72A |
|---|---|
| RGB | rgb(166, 167, 42) |
| HSL | hsl(60, 60%, 41%) |
| HSV | hsv(60, 75%, 65%) |
| CMYK | cmyk(0.6%, 0%, 74.9%, 34.5%) |
| CIE-LAB | lab(66.45, -15.11, 60.02) |
| CIE-LCH | lch(66.45, 61.89, 104.13°) |
| OKLab | oklab(70.56% -0.0479 0.1319) |
| OKLCH | oklch(70.56% 0.14 110) |
| XYZ | xyz(29.9636, 35.9125, 7.5435) |
| Luminance | 0.3591 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.58
Puke
#A5A502
ΔE00 2.22
Pea Soup Green
#94A617
ΔE00 4.22
Puke Green
#9AAE07
ΔE00 4.63
Mustard Green
#A8B504
ΔE00 4.91
Pea Soup
#929901
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A72A #2B2AA7
analogous
#A7692A #A6A72A #67A72A
triadic
#A6A72A #2AA6A7 #A72AA6
tetradic
#A6A72A #2AA769 #2B2AA7 #A72A67
square
#A6A72A #2AA769 #2B2AA7 #A72A67
split-complementary
#A6A72A #2A67A7 #692AA7
monochromatic
#454511 #75761E #A6A72A #CECF3F #DADB70
Accessibility & contrast
On white
2.57
#A6A72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#A6A72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A72A
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A72A | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00E
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#B29C8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a6a72a; /* rgb */ color: rgb(166, 167, 42); /* oklch */ color: oklch(70.6% 0.140 110.0);
Tailwind
colors: {
custom: {
50: '#c4c06e',
500: '#a6a72a',
950: '#000000',
},
}SCSS
$custom: #a6a72a; $custom-light: #c4c06e; $custom-dark: #000000;
JSON
{
"hex": "#a6a72a",
"rgb": {
"r": 166,
"g": 167,
"b": 42
},
"hsl": {
"h": 60.48,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.70562,
"c": 0.14031,
"h": 110
},
"luminance": 0.35912
}Semantic roles & 50–950 ramp
primary
#A6A72A
secondary
#6B6BC2
accent
#45E346
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B