#A2A231

Closest named color: Pea Soup Green (#94A617). oklch(69.1% 0.132 109.4), rgb(162, 162, 49).

Aa

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

About this color

#A2A231 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 69%, its chroma 0.132 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Pea Soup Green (#94A617), ΔE 0.030 away. Black text reads best on it, at 7.74:1.

Hue familyYellows
Lightnessmedium-light (69%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest namePea Soup Green (#94A617)
Black text7.74:1
White text2.71:1

Values

HEX#A2A231
RGBrgb(162, 162, 49)
HSLhsl(60, 54%, 41%)
OKLCHoklch(69.1% 0.132 109.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 #A2A231 2.71:1 Fails Lc -57.6 Large or bold text, headings
Black text on #A2A231 7.74:1 AAA Lc 51.6 Large or bold text, headings
#A2A231 text on white 2.71:1 Fails Lc 52.4 Large or bold text, headings
#A2A231 text on black 7.74:1 AAA Lc -49.4 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

    #F6F6EE

    oklch(97.1% 0.011 106.6)

  2. Step 100

    100

    #EBECDA

    oklch(93.7% 0.024 109.4)

  3. Step 200

    200

    #DBDCBA

    oklch(88.5% 0.045 108.7)

  4. Step 300

    300

    #C4C687

    oklch(81% 0.083 109.7)

  5. Step 400

    400 (this color)

    #A2A231

    oklch(69.1% 0.132 109.4)

  6. Step 500

    500

    #908F00

    oklch(63% 0.137 109.3)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#A2A231 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)#AF9B1F0.024
Deuteranopia (no green cones)#B09F390.024
Tritanopia (no blue cones)#AD988C0.118
Achromatopsia (no color)#9D9D9D0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2A231

    #A2A231

    oklch(69.1% 0.132 109.4)

  • #9A8DE8

    #9A8DE8

    oklch(69.2% 0.132 289)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2A231

    #A2A231

    oklch(69.1% 0.132 109.4)

  • #C79126

    #C79126

    oklch(69.2% 0.132 79.3)

  • #6EAF5E

    #6EAF5E

    oklch(69.1% 0.131 139.6)

Open the analogous palette in the generator

Split complementary

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

  • #A2A231

    #A2A231

    oklch(69.1% 0.132 109.4)

  • #699CED

    #699CED

    oklch(69.2% 0.132 259.3)

  • #BF80CF

    #BF80CF

    oklch(69.2% 0.131 319.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2A231

    #A2A231

    oklch(69.1% 0.132 109.4)

  • #1BAADD

    #1BAADD

    oklch(69.2% 0.132 229.5)

  • #D778A8

    #D778A8

    oklch(69.2% 0.131 349.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2A231

    #A2A231

    oklch(69.1% 0.132 109.4)

  • #00B1B8

    #00B1B8

    oklch(69.1% 0.117 199.8)

  • #9A8DE8

    #9A8DE8

    oklch(69.2% 0.132 289)

  • #E2787A

    #E2787A

    oklch(69.3% 0.132 19.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A2A231.

Similar named colors

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

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