#A2B91F

Closest named color: Mustard Green (#A8B504). oklch(74.3% 0.166 118.6), rgb(162, 185, 31).

Aa

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

About this color

#A2B91F is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.166 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Green (#A8B504), ΔE 0.012 away. Black text reads best on it, at 9.49:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromavivid (0.166)
Temperaturein between
Nearest nameMustard Green (#A8B504)
Black text9.49:1
White text2.21:1

Values

HEX#A2B91F
RGBrgb(162, 185, 31)
HSLhsl(69, 71%, 42%)
OKLCHoklch(74.3% 0.166 118.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 #A2B91F 2.21:1 Fails Lc -48.1 Large or bold text, headings
Black text on #A2B91F 9.49:1 AAA Lc 60.6 Content text, not long reading
#A2B91F text on white 2.21:1 Fails Lc 43.4 Non-text elements, placeholder text
#A2B91F text on black 9.49:1 AAA Lc -58.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

    #F4F7ED

    oklch(97.1% 0.014 120.3)

  2. Step 100

    100

    #E7EDD7

    oklch(93.6% 0.03 119.4)

  3. Step 200

    200

    #D5DFB4

    oklch(88.5% 0.058 118.2)

  4. Step 300

    300

    #BACA7C

    oklch(80.9% 0.103 118.2)

  5. Step 400

    400 (this color)

    #A2B91F

    oklch(74.3% 0.166 118.6)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4700

    oklch(37.6% 0.088 118.5)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#A2B91F 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)#C6AE000.055
Deuteranopia (no green cones)#C3AF300.056
Tritanopia (no blue cones)#ACAE9E0.144
Achromatopsia (no color)#AEAEAE0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2B91F

    #A2B91F

    oklch(74.3% 0.166 118.6)

  • #B994FF

    #B994FF

    oklch(74.3% 0.154 298.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2B91F

    #A2B91F

    oklch(74.3% 0.166 118.6)

  • #D3A500

    #D3A500

    oklch(74.3% 0.152 88.5)

  • #52C86E

    #52C86E

    oklch(74.4% 0.166 148.6)

Open the analogous palette in the generator

Split complementary

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

  • #A2B91F

    #A2B91F

    oklch(74.3% 0.166 118.6)

  • #89A7FF

    #89A7FF

    oklch(74.2% 0.132 268.8)

  • #E382DF

    #E382DF

    oklch(74.2% 0.166 328.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2B91F

    #A2B91F

    oklch(74.3% 0.166 118.6)

  • #34B7FF

    #34B7FF

    oklch(74.2% 0.15 238.6)

  • #FC7AAA

    #FC7AAA

    oklch(74.3% 0.165 358.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2B91F

    #A2B91F

    oklch(74.3% 0.166 118.6)

  • #00C1D6

    #00C1D6

    oklch(74.2% 0.128 208.6)

  • #B994FF

    #B994FF

    oklch(74.3% 0.154 298.5)

  • #FF8171

    #FF8171

    oklch(74.3% 0.156 28.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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