#A7AA28#A7AA28
#A7AA28 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.144 H 110.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AA28 |
|---|---|
| RGB | rgb(167, 170, 40) |
| HSL | hsl(61, 62%, 41%) |
| HSV | hsv(61, 76%, 67%) |
| CMYK | cmyk(1.8%, 0%, 76.5%, 33.3%) |
| CIE-LAB | lab(67.37, -16.30, 61.55) |
| CIE-LCH | lch(67.37, 63.67, 104.83°) |
| OKLab | oklab(71.31% -0.0515 0.1347) |
| OKLCH | oklch(71.31% 0.144 110.9) |
| XYZ | xyz(30.6952, 37.1190, 7.5548) |
| Luminance | 0.3712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.99
Puke
#A5A502
ΔE00 2.40
Puke Green
#9AAE07
ΔE00 3.95
Mustard Green
#A8B504
ΔE00 3.96
Pea Soup Green
#94A617
ΔE00 4.05
Barf Green
#94AC02
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AA28 #2B28AA
analogous
#AA6C28 #A7AA28 #66AA28
triadic
#A7AA28 #28A7AA #AA28A7
tetradic
#A7AA28 #28AA6C #2B28AA #AA2866
square
#A7AA28 #28AA6C #2B28AA #AA2866
split-complementary
#A7AA28 #2866AA #6C28AA
monochromatic
#464711 #76781C #A7AA28 #CED23E #DBDD6F
Accessibility & contrast
On white
2.49
#A7AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#A7AA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AA28
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AA28 | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A205
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#B39F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a7aa28; /* rgb */ color: rgb(167, 170, 40); /* oklch */ color: oklch(71.3% 0.144 110.9);
Tailwind
colors: {
custom: {
50: '#c5c36d',
500: '#a7aa28',
950: '#000000',
},
}SCSS
$custom: #a7aa28; $custom-light: #c5c36d; $custom-dark: #000000;
JSON
{
"hex": "#a7aa28",
"rgb": {
"r": 167,
"g": 170,
"b": 40
},
"hsl": {
"h": 61.385,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.71309,
"c": 0.14422,
"h": 110.9
},
"luminance": 0.37118
}Semantic roles & 50–950 ramp
primary
#A7AA28
secondary
#6C6AC4
accent
#43E547
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B