#A2AA28#A2AA28
#A2AA28 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.146 H 113.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A2AA28 |
|---|---|
| RGB | rgb(162, 170, 40) |
| HSL | hsl(64, 62%, 41%) |
| HSV | hsv(64, 76%, 67%) |
| CMYK | cmyk(4.7%, 0%, 76.5%, 33.3%) |
| CIE-LAB | lab(66.96, -18.47, 61.03) |
| CIE-LCH | lch(66.96, 63.77, 106.83°) |
| OKLab | oklab(70.89% -0.0573 0.1338) |
| OKLCH | oklch(70.89% 0.146 113.2) |
| XYZ | xyz(29.6590, 36.5847, 7.5063) |
| Luminance | 0.3658 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.44
Pea Soup Green
#94A617
ΔE00 2.89
Puke Green
#9AAE07
ΔE00 2.96
Puke
#A5A502
ΔE00 3.14
Barf Green
#94AC02
ΔE00 3.62
Mustard Green
#A8B504
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2AA28 #3028AA
analogous
#AA7128 #A2AA28 #61AA28
triadic
#A2AA28 #28A2AA #AA28A2
tetradic
#A2AA28 #28AA71 #3028AA #AA2861
square
#A2AA28 #28AA71 #3028AA #AA2861
split-complementary
#A2AA28 #2861AA #7128AA
monochromatic
#444711 #73781C #A2AA28 #C8D23E #D6DD6F
Accessibility & contrast
On white
2.53
#A2AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#A2AA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2AA28
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2AA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2AA28 | 1.00 | 2.53 | 8.32 | 8.32 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A205
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#AD9F92
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a2aa28; /* rgb */ color: rgb(162, 170, 40); /* oklch */ color: oklch(70.9% 0.146 113.2);
Tailwind
colors: {
custom: {
50: '#c1c36d',
500: '#a2aa28',
950: '#000000',
},
}SCSS
$custom: #a2aa28; $custom-light: #c1c36d; $custom-dark: #000000;
JSON
{
"hex": "#a2aa28",
"rgb": {
"r": 162,
"g": 170,
"b": 40
},
"hsl": {
"h": 63.692,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.70888,
"c": 0.14554,
"h": 113.2
},
"luminance": 0.36584
}Semantic roles & 50–950 ramp
primary
#A2AA28
secondary
#6F6AC4
accent
#43E54D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B