#A1B42E

Closest named color: Mustard Green (#A8B504). oklch(73.1% 0.154 117.5), rgb(161, 180, 46).

Aa

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

About this color

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

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

Values

HEX#A1B42E
RGBrgb(161, 180, 46)
HSLhsl(69, 59%, 44%)
OKLCHoklch(73.1% 0.154 117.5)

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 #A1B42E 2.31:1 Fails Lc -50.3 Large or bold text, headings
Black text on #A1B42E 9.08:1 AAA Lc 58.5 Large or bold text, headings
#A1B42E text on white 2.31:1 Fails Lc 45.5 Large or bold text, headings
#A1B42E text on black 9.08:1 AAA Lc -56.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

    #F4F7ED

    oklch(97.1% 0.014 120.3)

  2. Step 100

    100

    #E8EDD8

    oklch(93.7% 0.028 117.8)

  3. Step 200

    200

    #D6DEB7

    oklch(88.4% 0.053 116.9)

  4. Step 300

    300

    #BBC981

    oklch(80.8% 0.096 117.6)

  5. Step 400

    400 (this color)

    #A1B42E

    oklch(73.1% 0.154 117.5)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#A1B42E 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)#C0AA110.047
Deuteranopia (no green cones)#BEAB3A0.050
Tritanopia (no blue cones)#ABAA9B0.133
Achromatopsia (no color)#AAAAAA0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #A1B42E

    #A1B42E

    oklch(73.1% 0.154 117.5)

  • #B491FC

    #B491FC

    oklch(73.2% 0.154 297.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A1B42E

    #A1B42E

    oklch(73.1% 0.154 117.5)

  • #D0A100

    #D0A100

    oklch(73.2% 0.15 87.5)

  • #5BC26D

    #5BC26D

    oklch(73.2% 0.155 147.5)

Open the analogous palette in the generator

Split complementary

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

  • #A1B42E

    #A1B42E

    oklch(73.1% 0.154 117.5)

  • #82A4FF

    #82A4FF

    oklch(73.2% 0.138 267.4)

  • #DA83D9

    #DA83D9

    oklch(73.1% 0.153 327.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A1B42E

    #A1B42E

    oklch(73.1% 0.154 117.5)

  • #22B4FC

    #22B4FC

    oklch(73.1% 0.154 237.6)

  • #F27BA8

    #F27BA8

    oklch(73% 0.153 357.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A1B42E

    #A1B42E

    oklch(73.1% 0.154 117.5)

  • #00BDD0

    #00BDD0

    oklch(73% 0.125 207.5)

  • #B491FC

    #B491FC

    oklch(73.2% 0.154 297.5)

  • #FA7E71

    #FA7E71

    oklch(73.2% 0.154 27.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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