#A2AF35
Closest named color: Avocado (#90B134). oklch(72.1% 0.143 115.3), rgb(162, 175, 53).
Aa
Black text reads best on this color (8.71:1).
About this color
#A2AF35 is a medium-light, vivid yellow. In OKLCH its lightness is 72%, its chroma 0.143 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.024 away. Black text reads best on it, at 8.71:1.
| Hue family | Yellows |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.143) |
| Temperature | in between |
| Nearest name | Avocado (#90B134) |
| Black text | 8.71:1 |
| White text | 2.40:1 |
Values
| HEX | #A2AF35 |
| RGB | rgb(162, 175, 53) |
| HSL | hsl(66, 54%, 45%) |
| OKLCH | oklch(72.1% 0.143 115.3) |
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 #A2AF35 | 2.40:1 | Fails | Lc -52.3 | Large or bold text, headings |
| Black text on #A2AF35 | 8.71:1 | AAA | Lc 56.7 | Large or bold text, headings |
| #A2AF35 text on white | 2.40:1 | Fails | Lc 47.3 | Large or bold text, headings |
| #A2AF35 text on black | 8.71:1 | AAA | Lc -54.7 | 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
#F5F7EE
oklch(97.2% 0.012 116.8)
-
Step 100
100
#E9ECD9
oklch(93.6% 0.025 114.2)
-
Step 200
200
#D7DEB9
oklch(88.6% 0.05 116.1)
-
Step 300
300
#BEC885
oklch(80.9% 0.089 115.3)
-
Step 400
400 (this color)
#A2AF35
oklch(72.1% 0.143 115.3)
-
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
#4D5500
oklch(42.8% 0.098 115.9)
-
Step 900
900
#404600
oklch(37.6% 0.085 115.2)
-
Step 950
950
#262A00
oklch(27.2% 0.062 115.2)
#A2AF35 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) | #BBA621 | 0.039 |
| Deuteranopia (no green cones) | #BAA83E | 0.041 |
| Tritanopia (no blue cones) | #ACA597 | 0.125 |
| Achromatopsia (no color) | #A7A7A7 | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A2AF35
#A2AF35
oklch(72.1% 0.143 115.3)
- #AC91F4
#AC91F4
oklch(72.1% 0.143 295.1)
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 #A2AF35, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Avocado #90B134 ΔE 0.024
- Mustard Green #A8B504 ΔE 0.028
- Icky Green #8FAE22 ΔE 0.030
- Pea Soup Green #94A617 ΔE 0.035
- Pea Green #8EAB12 ΔE 0.037
- Muddy Yellow #BFAC05 ΔE 0.041
- Bright Olive #9CBB04 ΔE 0.043
- Avocado Green #87A922 ΔE 0.044
Use #A2AF35 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.