#A8AA2A#A8AA2A
#A8AA2A is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.143 H 110.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A8AA2A |
|---|---|
| RGB | rgb(168, 170, 42) |
| HSL | hsl(61, 60%, 42%) |
| HSV | hsv(61, 75%, 67%) |
| CMYK | cmyk(1.2%, 0%, 75.3%, 33.3%) |
| CIE-LAB | lab(67.46, -15.77, 61.01) |
| CIE-LCH | lch(67.46, 63.02, 104.50°) |
| OKLab | oklab(71.41% -0.0499 0.1339) |
| OKLCH | oklch(71.41% 0.143 110.4) |
| XYZ | xyz(30.9422, 37.2423, 7.7486) |
| Luminance | 0.3724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.07
Puke
#A5A502
ΔE00 2.44
Mustard Green
#A8B504
ΔE00 4.13
Puke Green
#9AAE07
ΔE00 4.22
Pea Soup Green
#94A617
ΔE00 4.30
Barf Green
#94AC02
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8AA2A #2C2AAA
analogous
#AA6C2A #A8AA2A #68AA2A
triadic
#A8AA2A #2AA8AA #AA2AA8
tetradic
#A8AA2A #2AAA6C #2C2AAA #AA2A68
square
#A8AA2A #2AAA6C #2C2AAA #AA2A68
split-complementary
#A8AA2A #2A68AA #6C2AAA
monochromatic
#474812 #78791E #A8AA2A #CED041 #DBDC72
Accessibility & contrast
On white
2.49
#A8AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#A8AA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8AA2A
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8AA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8AA2A | 1.00 | 2.49 | 8.45 | 8.45 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A20B
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#B49F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a8aa2a; /* rgb */ color: rgb(168, 170, 42); /* oklch */ color: oklch(71.4% 0.143 110.4);
Tailwind
colors: {
custom: {
50: '#c5c36e',
500: '#a8aa2a',
950: '#000000',
},
}SCSS
$custom: #a8aa2a; $custom-light: #c5c36e; $custom-dark: #000000;
JSON
{
"hex": "#a8aa2a",
"rgb": {
"r": 168,
"g": 170,
"b": 42
},
"hsl": {
"h": 60.938,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.71406,
"c": 0.1429,
"h": 110.4
},
"luminance": 0.37241
}Semantic roles & 50–950 ramp
primary
#A8AA2A
secondary
#6E6CC3
accent
#44E447
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B