#A2AF29
Closest named color: Avocado (#90B134). oklch(72% 0.15 115.2), rgb(162, 175, 41).
Aa
Black text reads best on this color (8.70:1).
About this color
#A2AF29 is a medium-light, vivid yellow. In OKLCH its lightness is 72%, its chroma 0.150 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.023 away. Black text reads best on it, at 8.70:1.
| Hue family | Yellows |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.150) |
| Temperature | in between |
| Nearest name | Avocado (#90B134) |
| Black text | 8.70:1 |
| White text | 2.41:1 |
Values
| HEX | #A2AF29 |
| RGB | rgb(162, 175, 41) |
| HSL | hsl(66, 62%, 42%) |
| OKLCH | oklch(72% 0.15 115.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #A2AF29 | 2.41:1 | Fails | Lc -52.4 | Large or bold text, headings |
| Black text on #A2AF29 | 8.70:1 | AAA | Lc 56.6 | Large or bold text, headings |
| #A2AF29 text on white | 2.41:1 | Fails | Lc 47.4 | Large or bold text, headings |
| #A2AF29 text on black | 8.70:1 | AAA | Lc -54.6 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F5F7ED
oklch(97.2% 0.013 115.8)
-
Step 100
100
#E9ECD8
oklch(93.5% 0.027 113.8)
-
Step 200
200
#D7DEB7
oklch(88.5% 0.052 115.7)
-
Step 300
300
#BEC881
oklch(80.8% 0.094 115.1)
-
Step 400
400 (this color)
#A2AF29
oklch(72% 0.15 115.2)
-
Step 500
500
#879300
oklch(63.2% 0.144 115.4)
-
Step 600
600
#717B00
oklch(55.5% 0.126 115.3)
-
Step 700
700
#5F6700
oklch(49% 0.111 115)
-
Step 800
800
#4E5500
oklch(42.8% 0.097 115.1)
-
Step 900
900
#404600
oklch(37.6% 0.085 115.2)
-
Step 950
950
#262A00
oklch(27.2% 0.062 115.2)
#A2AF29 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #BCA604 | 0.040 |
| Deuteranopia (no green cones) | #BBA835 | 0.043 |
| Tritanopia (no blue cones) | #ADA596 | 0.131 |
| Achromatopsia (no color) | #A7A7A7 | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A2AF29
#A2AF29
oklch(72% 0.15 115.2)
- #AD8FF8
#AD8FF8
oklch(72% 0.151 295.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A2AF29, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Avocado #90B134 ΔE 0.023
- Mustard Green #A8B504 ΔE 0.023
- Icky Green #8FAE22 ΔE 0.027
- Pea Green #8EAB12 ΔE 0.033
- Pea Soup Green #94A617 ΔE 0.033
- Bright Olive #9CBB04 ΔE 0.038
- Muddy Yellow #BFAC05 ΔE 0.041
- Avocado Green #87A922 ΔE 0.042
Use #A2AF29 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.