#A4B040

Closest named color: Avocado (#90B134). oklch(72.6% 0.136 115), rgb(164, 176, 64).

Aa

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

About this color

#A4B040 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.136 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.030 away. Black text reads best on it, at 8.86:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.86:1
White text2.36:1

Values

HEX#A4B040
RGBrgb(164, 176, 64)
HSLhsl(66, 47%, 47%)
OKLCHoklch(72.6% 0.136 115)

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 #A4B040 2.36:1 Fails Lc -51.6 Large or bold text, headings
Black text on #A4B040 8.86:1 AAA Lc 57.4 Large or bold text, headings
#A4B040 text on white 2.36:1 Fails Lc 46.6 Large or bold text, headings
#A4B040 text on black 8.86:1 AAA Lc -55.4 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

    #F5F6EE

    oklch(97% 0.011 112.4)

  2. Step 100

    100

    #E9ECDA

    oklch(93.6% 0.024 114.5)

  3. Step 200

    200

    #D8DDBA

    oklch(88.5% 0.047 114)

  4. Step 300

    300

    #BEC888

    oklch(81% 0.085 115.6)

  5. Step 400

    400 (this color)

    #A4B040

    oklch(72.6% 0.136 115)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #727B00

    oklch(55.6% 0.126 114.8)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5500

    oklch(42.8% 0.097 115.1)

  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

#A4B040 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)#BCA7320.038
Deuteranopia (no green cones)#BBA9480.040
Tritanopia (no blue cones)#AEA6990.119
Achromatopsia (no color)#A8A8A80.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #A4B040

    #A4B040

    oklch(72.6% 0.136 115)

  • #AD94F2

    #AD94F2

    oklch(72.6% 0.135 295)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A4B040

    #A4B040

    oklch(72.6% 0.136 115)

  • #CD9F2B

    #CD9F2B

    oklch(72.6% 0.136 85.4)

  • #6BBD6F

    #6BBD6F

    oklch(72.7% 0.137 145)

Open the analogous palette in the generator

Split complementary

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

  • #A4B040

    #A4B040

    oklch(72.6% 0.136 115)

  • #7CA4FC

    #7CA4FC

    oklch(72.7% 0.136 264.7)

  • #D187D5

    #D187D5

    oklch(72.6% 0.136 325.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A4B040

    #A4B040

    oklch(72.6% 0.136 115)

  • #39B3EF

    #39B3EF

    oklch(72.7% 0.136 235)

  • #E880AB

    #E880AB

    oklch(72.6% 0.136 354.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A4B040

    #A4B040

    oklch(72.6% 0.136 115)

  • #00BCCB

    #00BCCB

    oklch(72.6% 0.124 204.9)

  • #AD94F2

    #AD94F2

    oklch(72.6% 0.135 295)

  • #F0827A

    #F0827A

    oklch(72.6% 0.136 25.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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