#A2AF41

Closest named color: Avocado (#90B134). oklch(72.2% 0.134 115.6), rgb(162, 175, 65).

Aa

Black text reads best on this color (8.74:1).

About this color

#A2AF41 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.134 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.029 away. Black text reads best on it, at 8.74:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.74:1
White text2.40:1

Values

HEX#A2AF41
RGBrgb(162, 175, 65)
HSLhsl(67, 46%, 47%)
OKLCHoklch(72.2% 0.134 115.6)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #A2AF41 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #A2AF41 8.74:1 AAA Lc 56.8 Large or bold text, headings
#A2AF41 text on white 2.40:1 Fails Lc 47.2 Large or bold text, headings
#A2AF41 text on black 8.74:1 AAA Lc -54.8 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.

  1. Step 50

    50

    #F5F6EE

    oklch(97% 0.011 112.4)

  2. Step 100

    100

    #E9ECDA

    oklch(93.6% 0.024 114.5)

  3. Step 200

    200

    #D7DDBB

    oklch(88.4% 0.046 115.5)

  4. Step 300

    300

    #BEC889

    oklch(81% 0.084 115.7)

  5. Step 400

    400 (this color)

    #A2AF41

    oklch(72.2% 0.134 115.6)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6800

    oklch(49.3% 0.112 115.5)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#A2AF41 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#BBA6330.039
Deuteranopia (no green cones)#BAA8480.041
Tritanopia (no blue cones)#ACA5980.118
Achromatopsia (no color)#A7A7A70.134

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #A2AF41

    #A2AF41

    oklch(72.2% 0.134 115.6)

  • #AC93F0

    #AC93F0

    oklch(72.2% 0.134 295.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2AF41

    #A2AF41

    oklch(72.2% 0.134 115.6)

  • #CB9E2C

    #CB9E2C

    oklch(72.2% 0.134 85.6)

  • #6ABB70

    #6ABB70

    oklch(72.1% 0.133 145.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #A2AF41

    #A2AF41

    oklch(72.2% 0.134 115.6)

  • #7DA2F9

    #7DA2F9

    oklch(72.2% 0.134 265.7)

  • #D086D3

    #D086D3

    oklch(72.2% 0.135 325.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2AF41

    #A2AF41

    oklch(72.2% 0.134 115.6)

  • #3BB1ED

    #3BB1ED

    oklch(72.1% 0.134 235.6)

  • #E67FA9

    #E67FA9

    oklch(72.1% 0.135 355.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2AF41

    #A2AF41

    oklch(72.2% 0.134 115.6)

  • #00BBCB

    #00BBCB

    oklch(72.3% 0.124 205.7)

  • #AC93F0

    #AC93F0

    oklch(72.2% 0.134 295.2)

  • #EE8179

    #EE8179

    oklch(72.2% 0.135 25.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #A2AF41, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #A2AF41 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.