#A6A728#A6A728
#A6A728 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.141 H 110.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A728 |
|---|---|
| RGB | rgb(166, 167, 40) |
| HSL | hsl(60, 61%, 41%) |
| HSV | hsv(60, 76%, 65%) |
| CMYK | cmyk(0.6%, 0%, 76%, 34.5%) |
| CIE-LAB | lab(66.44, -15.19, 60.67) |
| CIE-LCH | lch(66.44, 62.55, 104.06°) |
| OKLab | oklab(70.55% -0.0484 0.1329) |
| OKLCH | oklch(70.55% 0.141 110) |
| XYZ | xyz(29.9287, 35.8985, 7.3596) |
| Luminance | 0.3590 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.45
Puke
#A5A502
ΔE00 2.05
Pea Soup Green
#94A617
ΔE00 4.21
Puke Green
#9AAE07
ΔE00 4.58
Mustard Green
#A8B504
ΔE00 4.83
Pea Soup
#929901
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A728 #2928A7
analogous
#A76828 #A6A728 #67A728
triadic
#A6A728 #28A6A7 #A728A6
tetradic
#A6A728 #28A768 #2928A7 #A72867
square
#A6A728 #28A768 #2928A7 #A72867
split-complementary
#A6A728 #2867A7 #6828A7
monochromatic
#444410 #75761C #A6A728 #CFD03C #DBDC6D
Accessibility & contrast
On white
2.57
#A6A728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#A6A728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A728
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A728 | 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)
#B5A007
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#B29C8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a6a728; /* rgb */ color: rgb(166, 167, 40); /* oklch */ color: oklch(70.5% 0.141 110.0);
Tailwind
colors: {
custom: {
50: '#c4c06d',
500: '#a6a728',
950: '#000000',
},
}SCSS
$custom: #a6a728; $custom-light: #c4c06d; $custom-dark: #000000;
JSON
{
"hex": "#a6a728",
"rgb": {
"r": 166,
"g": 167,
"b": 40
},
"hsl": {
"h": 60.472,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.7055,
"c": 0.14141,
"h": 110
},
"luminance": 0.35898
}Semantic roles & 50–950 ramp
primary
#A6A728
secondary
#6968C3
accent
#43E445
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B