#A2B31E

Closest named color: Mustard Green (#A8B504). oklch(72.9% 0.16 116.6), rgb(162, 179, 30).

Aa

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

About this color

#A2B31E is a medium-light, vivid yellow. In OKLCH its lightness is 73%, its chroma 0.160 and its hue 117°. 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.00:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromavivid (0.160)
Temperaturein between
Nearest nameMustard Green (#A8B504)
Black text9.00:1
White text2.33:1

Values

HEX#A2B31E
RGBrgb(162, 179, 30)
HSLhsl(67, 71%, 41%)
OKLCHoklch(72.9% 0.16 116.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 #A2B31E 2.33:1 Fails Lc -50.7 Large or bold text, headings
Black text on #A2B31E 9.00:1 AAA Lc 58.1 Large or bold text, headings
#A2B31E text on white 2.33:1 Fails Lc 45.8 Large or bold text, headings
#A2B31E text on black 9.00:1 AAA Lc -56.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

    #F5F7ED

    oklch(97.2% 0.013 115.8)

  2. Step 100

    100

    #E8EDD7

    oklch(93.6% 0.03 117.4)

  3. Step 200

    200

    #D6DEB5

    oklch(88.4% 0.055 116.5)

  4. Step 300

    300

    #BCC97D

    oklch(80.8% 0.1 116.6)

  5. Step 400

    400 (this color)

    #A2B31E

    oklch(72.9% 0.16 116.6)

  6. Step 500

    500

    #859300

    oklch(63% 0.144 116.3)

  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

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#A2B31E 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)#C0A9000.047
Deuteranopia (no green cones)#BEAB2E0.048
Tritanopia (no blue cones)#ADA8990.140
Achromatopsia (no color)#AAAAAA0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2B31E

    #A2B31E

    oklch(72.9% 0.16 116.6)

  • #B28FFF

    #B28FFF

    oklch(72.8% 0.161 296.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2B31E

    #A2B31E

    oklch(72.9% 0.16 116.6)

  • #D09F00

    #D09F00

    oklch(72.8% 0.149 86.4)

  • #59C168

    #59C168

    oklch(72.8% 0.159 146.6)

Open the analogous palette in the generator

Split complementary

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

  • #A2B31E

    #A2B31E

    oklch(72.9% 0.16 116.6)

  • #7FA3FF

    #7FA3FF

    oklch(72.8% 0.14 266.8)

  • #DA80DC

    #DA80DC

    oklch(72.8% 0.16 326.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2B31E

    #A2B31E

    oklch(72.9% 0.16 116.6)

  • #00B4FD

    #00B4FD

    oklch(72.9% 0.158 236.6)

  • #F478AA

    #F478AA

    oklch(72.9% 0.16 356.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2B31E

    #A2B31E

    oklch(72.9% 0.16 116.6)

  • #00BDCE

    #00BDCE

    oklch(72.9% 0.125 206.2)

  • #B28FFF

    #B28FFF

    oklch(72.8% 0.161 296.6)

  • #FC7B70

    #FC7B70

    oklch(73% 0.16 26.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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