#A2AF5F

Closest named color: Lichen (#8FB67B). oklch(72.6% 0.106 116.7), rgb(162, 175, 95).

Aa

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

About this color

#A2AF5F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.106 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lichen (#8FB67B), ΔE 0.035 away. Black text reads best on it, at 8.83:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameLichen (#8FB67B)
Black text8.83:1
White text2.37:1

Values

HEX#A2AF5F
RGBrgb(162, 175, 95)
HSLhsl(70, 33%, 53%)
OKLCHoklch(72.6% 0.106 116.7)

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 #A2AF5F 2.37:1 Fails Lc -51.8 Large or bold text, headings
Black text on #A2AF5F 8.83:1 AAA Lc 57.2 Large or bold text, headings
#A2AF5F text on white 2.37:1 Fails Lc 46.8 Large or bold text, headings
#A2AF5F text on black 8.83:1 AAA Lc -55.2 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9ECDE

    oklch(93.7% 0.019 116.6)

  3. Step 200

    200

    #D7DDC2

    oklch(88.6% 0.037 117.3)

  4. Step 300

    300

    #BDC796

    oklch(80.9% 0.067 117.3)

  5. Step 400

    400 (this color)

    #A2AF5F

    oklch(72.6% 0.106 116.7)

  6. Step 500

    500

    #85931E

    oklch(63.1% 0.135 116.6)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A05

    oklch(27.1% 0.056 116.9)

Export this scale for Tailwind in the Tailwind colors tool

#A2AF5F 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)#B9A8580.035
Deuteranopia (no green cones)#B7A9630.035
Tritanopia (no blue cones)#AAA79C0.091
Achromatopsia (no color)#A8A8A80.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2AF5F

    #A2AF5F

    oklch(72.6% 0.106 116.7)

  • #AD98E1

    #AD98E1

    oklch(72.5% 0.106 296.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2AF5F

    #A2AF5F

    oklch(72.6% 0.106 116.7)

  • #C3A253

    #C3A253

    oklch(72.6% 0.106 86.9)

  • #79B97F

    #79B97F

    oklch(72.7% 0.106 146.6)

Open the analogous palette in the generator

Split complementary

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

  • #A2AF5F

    #A2AF5F

    oklch(72.6% 0.106 116.7)

  • #88A4E9

    #88A4E9

    oklch(72.5% 0.106 266.9)

  • #CA8FC9

    #CA8FC9

    oklch(72.7% 0.105 327.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2AF5F

    #A2AF5F

    oklch(72.6% 0.106 116.7)

  • #5FB0E0

    #5FB0E0

    oklch(72.5% 0.106 236.7)

  • #DC8AA8

    #DC8AA8

    oklch(72.7% 0.106 356.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2AF5F

    #A2AF5F

    oklch(72.6% 0.106 116.7)

  • #41B9C8

    #41B9C8

    oklch(72.6% 0.106 207)

  • #AD98E1

    #AD98E1

    oklch(72.5% 0.106 296.9)

  • #E18C83

    #E18C83

    oklch(72.6% 0.105 26.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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