#A6AA28#A6AA28
#A6AA28 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.144 H 111.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AA28 |
|---|---|
| RGB | rgb(166, 170, 40) |
| HSL | hsl(62, 62%, 41%) |
| HSV | hsv(62, 76%, 67%) |
| CMYK | cmyk(2.4%, 0%, 76.5%, 33.3%) |
| CIE-LAB | lab(67.28, -16.73, 61.45) |
| CIE-LCH | lch(67.28, 63.68, 105.23°) |
| OKLab | oklab(71.22% -0.0526 0.1345) |
| OKLCH | oklch(71.22% 0.144 111.4) |
| XYZ | xyz(30.4847, 37.0104, 7.5450) |
| Luminance | 0.3701 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.02
Puke
#A5A502
ΔE00 2.51
Puke Green
#9AAE07
ΔE00 3.73
Pea Soup Green
#94A617
ΔE00 3.81
Mustard Green
#A8B504
ΔE00 3.90
Barf Green
#94AC02
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AA28 #2C28AA
analogous
#AA6D28 #A6AA28 #65AA28
triadic
#A6AA28 #28A6AA #AA28A6
tetradic
#A6AA28 #28AA6D #2C28AA #AA2865
square
#A6AA28 #28AA6D #2C28AA #AA2865
split-complementary
#A6AA28 #2865AA #6D28AA
monochromatic
#454711 #76781C #A6AA28 #CDD23E #DADD6F
Accessibility & contrast
On white
2.50
#A6AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#A6AA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AA28
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AA28 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A205
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#B29F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a6aa28; /* rgb */ color: rgb(166, 170, 40); /* oklch */ color: oklch(71.2% 0.144 111.4);
Tailwind
colors: {
custom: {
50: '#c4c36d',
500: '#a6aa28',
950: '#000000',
},
}SCSS
$custom: #a6aa28; $custom-light: #c4c36d; $custom-dark: #000000;
JSON
{
"hex": "#a6aa28",
"rgb": {
"r": 166,
"g": 170,
"b": 40
},
"hsl": {
"h": 61.846,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.71224,
"c": 0.14447,
"h": 111.4
},
"luminance": 0.3701
}Semantic roles & 50–950 ramp
primary
#A6AA28
secondary
#6D6AC4
accent
#43E548
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B