#A3B81F

Closest named color: Mustard Green (#A8B504). oklch(74.1% 0.164 117.9), rgb(163, 184, 31).

Aa

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

About this color

#A3B81F is a medium-light, vivid yellow. In OKLCH its lightness is 74%, its chroma 0.164 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.010 away. Black text reads best on it, at 9.43:1.

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

Values

HEX#A3B81F
RGBrgb(163, 184, 31)
HSLhsl(68, 71%, 42%)
OKLCHoklch(74.1% 0.164 117.9)

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 #A3B81F 2.22:1 Fails Lc -48.5 Large or bold text, headings
Black text on #A3B81F 9.43:1 AAA Lc 60.3 Content text, not long reading
#A3B81F text on white 2.22:1 Fails Lc 43.7 Non-text elements, placeholder text
#A3B81F text on black 9.43:1 AAA Lc -58.5 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

    #E8EDD7

    oklch(93.6% 0.03 117.4)

  3. Step 200

    200

    #D5DFB5

    oklch(88.5% 0.057 118.5)

  4. Step 300

    300

    #BBCA7C

    oklch(81% 0.103 117.6)

  5. Step 400

    400 (this color)

    #A3B81F

    oklch(74.1% 0.164 117.9)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6D7C00

    oklch(55.4% 0.129 117.8)

  8. Step 700

    700

    #5C6900

    oklch(49.2% 0.114 117.9)

  9. Step 800

    800

    #4B5600

    oklch(42.8% 0.1 117.9)

  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

#A3B81F 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)#C5AD000.053
Deuteranopia (no green cones)#C3AE300.055
Tritanopia (no blue cones)#AEAD9D0.143
Achromatopsia (no color)#AEAEAE0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #A3B81F

    #A3B81F

    oklch(74.1% 0.164 117.9)

  • #B794FF

    #B794FF

    oklch(74.1% 0.154 297.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A3B81F

    #A3B81F

    oklch(74.1% 0.164 117.9)

  • #D3A400

    #D3A400

    oklch(74.1% 0.152 87.9)

  • #55C76C

    #55C76C

    oklch(74.2% 0.165 147.8)

Open the analogous palette in the generator

Split complementary

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

  • #A3B81F

    #A3B81F

    oklch(74.1% 0.164 117.9)

  • #87A7FF

    #87A7FF

    oklch(74.1% 0.133 267.9)

  • #E182DF

    #E182DF

    oklch(74% 0.164 327.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A3B81F

    #A3B81F

    oklch(74.1% 0.164 117.9)

  • #2DB7FF

    #2DB7FF

    oklch(74.1% 0.152 238)

  • #FB7AAB

    #FB7AAB

    oklch(74.2% 0.165 357.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A3B81F

    #A3B81F

    oklch(74.1% 0.164 117.9)

  • #00C1D5

    #00C1D5

    oklch(74.2% 0.127 207.9)

  • #B794FF

    #B794FF

    oklch(74.1% 0.154 297.6)

  • #FF8072

    #FF8072

    oklch(74.2% 0.157 27.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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