#A2A240

Closest named color: Brown Yellow (#B29705). oklch(69.3% 0.12 109.2), rgb(162, 162, 64).

Aa

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

About this color

#A2A240 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 69%, its chroma 0.120 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Yellow (#B29705), ΔE 0.037 away. Black text reads best on it, at 7.77:1.

Hue familyYellows
Lightnessmedium-light (69%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameBrown Yellow (#B29705)
Black text7.77:1
White text2.69:1

Values

HEX#A2A240
RGBrgb(162, 162, 64)
HSLhsl(60, 43%, 44%)
OKLCHoklch(69.3% 0.12 109.2)

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 #A2A240 2.69:1 Fails Lc -57.5 Large or bold text, headings
Black text on #A2A240 7.77:1 AAA Lc 51.7 Large or bold text, headings
#A2A240 text on white 2.69:1 Fails Lc 52.3 Large or bold text, headings
#A2A240 text on black 7.77:1 AAA Lc -49.6 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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #EBEBDB

    oklch(93.6% 0.021 106.8)

  3. Step 200

    200

    #DBDCBD

    oklch(88.6% 0.041 108.7)

  4. Step 300

    300

    #C4C58C

    oklch(80.9% 0.075 108.8)

  5. Step 400

    400 (this color)

    #A2A240

    oklch(69.3% 0.12 109.2)

  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

    #535200

    oklch(42.6% 0.092 108.9)

  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

#A2A240 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)#AE9C350.021
Deuteranopia (no green cones)#B09F460.024
Tritanopia (no blue cones)#AD988D0.108
Achromatopsia (no color)#9D9D9D0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2A240

    #A2A240

    oklch(69.3% 0.12 109.2)

  • #9A8FE2

    #9A8FE2

    oklch(69.3% 0.12 288.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2A240

    #A2A240

    oklch(69.3% 0.12 109.2)

  • #C49339

    #C49339

    oklch(69.4% 0.12 79.4)

  • #74AE64

    #74AE64

    oklch(69.3% 0.12 139.1)

Open the analogous palette in the generator

Split complementary

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

  • #A2A240

    #A2A240

    oklch(69.3% 0.12 109.2)

  • #6E9DE6

    #6E9DE6

    oklch(69.3% 0.12 258.9)

  • #BC83CB

    #BC83CB

    oklch(69.2% 0.12 319.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2A240

    #A2A240

    oklch(69.3% 0.12 109.2)

  • #36AAD7

    #36AAD7

    oklch(69.4% 0.12 228.7)

  • #D37CA8

    #D37CA8

    oklch(69.3% 0.12 349)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2A240

    #A2A240

    oklch(69.3% 0.12 109.2)

  • #00B2B8

    #00B2B8

    oklch(69.4% 0.118 199.1)

  • #9A8FE2

    #9A8FE2

    oklch(69.3% 0.12 288.9)

  • #DD7C7E

    #DD7C7E

    oklch(69.3% 0.12 19.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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