#A2B004

Closest named color: Mustard Green (#A8B504). oklch(72.1% 0.163 115.4), rgb(162, 176, 4).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (72%)
Chromavivid (0.163)
Temperaturein between
Nearest nameMustard Green (#A8B504)
Black text8.74:1
White text2.40:1

Values

HEX#A2B004
RGBrgb(162, 176, 4)
HSLhsl(65, 96%, 35%)
OKLCHoklch(72.1% 0.163 115.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 #A2B004 2.40:1 Fails Lc -52.1 Large or bold text, headings
Black text on #A2B004 8.74:1 AAA Lc 56.9 Large or bold text, headings
#A2B004 text on white 2.40:1 Fails Lc 47.1 Large or bold text, headings
#A2B004 text on black 8.74:1 AAA Lc -54.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

    #F5F7ED

    oklch(97.2% 0.013 115.8)

  2. Step 100

    100

    #E9EDD7

    oklch(93.7% 0.029 115.3)

  3. Step 200

    200

    #D7DEB4

    oklch(88.4% 0.056 115.2)

  4. Step 300

    300

    #BEC97B

    oklch(81% 0.102 115.3)

  5. Step 400

    400 (this color)

    #A2B004

    oklch(72.1% 0.163 115.4)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #262A00

    oklch(27.2% 0.062 115.2)

Export this scale for Tailwind in the Tailwind colors tool

#A2B004 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)#BDA6000.046
Deuteranopia (no green cones)#BDA8210.047
Tritanopia (no blue cones)#ADA5950.143
Achromatopsia (no color)#A7A7A70.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #A2B004

    #A2B004

    oklch(72.1% 0.163 115.4)

  • #AE8DFF

    #AE8DFF

    oklch(72.1% 0.163 295.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A2B004

    #A2B004

    oklch(72.1% 0.163 115.4)

  • #CF9C00

    #CF9C00

    oklch(72.1% 0.148 85)

  • #58BF61

    #58BF61

    oklch(72.1% 0.163 145.3)

Open the analogous palette in the generator

Split complementary

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

  • #A2B004

    #A2B004

    oklch(72.1% 0.163 115.4)

  • #79A1FF

    #79A1FF

    oklch(72.1% 0.144 265.5)

  • #D87EDC

    #D87EDC

    oklch(72.3% 0.163 325.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A2B004

    #A2B004

    oklch(72.1% 0.163 115.4)

  • #00B2F7

    #00B2F7

    oklch(72.1% 0.154 235.4)

  • #F274A9

    #F274A9

    oklch(72.1% 0.164 355.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A2B004

    #A2B004

    oklch(72.1% 0.163 115.4)

  • #00BACA

    #00BACA

    oklch(72% 0.123 205.7)

  • #AE8DFF

    #AE8DFF

    oklch(72.1% 0.163 295.3)

  • #FB766F

    #FB766F

    oklch(72.1% 0.164 25.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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