#A2B771

Closest named color: Tan Green (#A9BE70). oklch(74.7% 0.097 122.4), rgb(162, 183, 113).

Aa

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

About this color

#A2B771 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.097 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.023 away. Black text reads best on it, at 9.54:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text9.54:1
White text2.19:1

Values

HEX#A2B771
RGBrgb(162, 183, 113)
HSLhsl(78, 33%, 58%)
OKLCHoklch(74.7% 0.097 122.4)

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 #A2B771 2.19:1 Fails Lc -48.0 Large or bold text, headings
Black text on #A2B771 9.54:1 AAA Lc 60.7 Content text, not long reading
#A2B771 text on white 2.19:1 Fails Lc 43.3 Non-text elements, placeholder text
#A2B771 text on black 9.54:1 AAA Lc -58.9 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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D5DDC5

    oklch(88.5% 0.033 122.1)

  4. Step 300

    300

    #B9C79C

    oklch(80.8% 0.06 122.4)

  5. Step 400

    400 (this color)

    #A2B771

    oklch(74.7% 0.097 122.4)

  6. Step 500

    500

    #7D9537

    oklch(63.1% 0.123 122.1)

  7. Step 600

    600

    #667F04

    oklch(55.7% 0.134 122.4)

  8. Step 700

    700

    #556B00

    oklch(49.2% 0.12 122.6)

  9. Step 800

    800

    #455701

    oklch(42.6% 0.103 122.4)

  10. Step 900

    900

    #3A480F

    oklch(37.7% 0.081 122.5)

  11. Step 950

    950

    #222A0B

    oklch(26.9% 0.051 122.1)

Export this scale for Tailwind in the Tailwind colors tool

#A2B771 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)#BFAF6C0.043
Deuteranopia (no green cones)#BCAF740.042
Tritanopia (no blue cones)#A7B0A60.081
Achromatopsia (no color)#AFAFAF0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2B771

    #A2B771

    oklch(74.7% 0.097 122.4)

  • #B89EE0

    #B89EE0

    oklch(74.6% 0.097 302.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2B771

    #A2B771

    oklch(74.7% 0.097 122.4)

  • #C2AB62

    #C2AB62

    oklch(74.5% 0.097 92.4)

  • #7DBF8F

    #7DBF8F

    oklch(74.7% 0.097 152.1)

Open the analogous palette in the generator

Split complementary

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

  • #A2B771

    #A2B771

    oklch(74.7% 0.097 122.4)

  • #98A9EB

    #98A9EB

    oklch(74.7% 0.097 272.7)

  • #D296C8

    #D296C8

    oklch(74.7% 0.097 332.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2B771

    #A2B771

    oklch(74.7% 0.097 122.4)

  • #74B4E5

    #74B4E5

    oklch(74.6% 0.097 242.6)

  • #E093A8

    #E093A8

    oklch(74.6% 0.096 1.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2B771

    #A2B771

    oklch(74.7% 0.097 122.4)

  • #59BDD1

    #59BDD1

    oklch(74.6% 0.097 212.6)

  • #B89EE0

    #B89EE0

    oklch(74.6% 0.097 302.2)

  • #E39686

    #E39686

    oklch(74.6% 0.097 32.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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