#AAC040

Closest named color: Pea (#A4BF20). oklch(76.7% 0.153 118.5), rgb(170, 192, 64).

Aa

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

About this color

#AAC040 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.153 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.021 away. Black text reads best on it, at 10.32:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.153)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.32:1
White text2.03:1

Values

HEX#AAC040
RGBrgb(170, 192, 64)
HSLhsl(70, 50%, 50%)
OKLCHoklch(76.7% 0.153 118.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 #AAC040 2.03:1 Fails Lc -44.0 Non-text elements, placeholder text
Black text on #AAC040 10.32:1 AAA Lc 64.5 Content text, not long reading
#AAC040 text on white 2.03:1 Fails Lc 39.5 Non-text elements, placeholder text
#AAC040 text on black 10.32:1 AAA Lc -62.9 Content text, not long reading

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 300.

  1. Step 50

    50

    #F4F8E8

    oklch(97.2% 0.021 118.2)

  2. Step 100

    100

    #E6EFCE

    oklch(93.7% 0.045 119.7)

  3. Step 200

    200

    #D3E2A2

    oklch(88.6% 0.085 118.9)

  4. Step 300

    300 (this color)

    #AAC040

    oklch(76.7% 0.153 118.5)

  5. Step 400

    400

    #97AD00

    oklch(70.6% 0.165 118.5)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4700

    oklch(37.6% 0.088 118.5)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#AAC040 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)#CCB62E0.050
Deuteranopia (no green cones)#CAB64A0.054
Tritanopia (no blue cones)#B4B6A60.130
Achromatopsia (no color)#B6B6B60.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #AAC040

    #AAC040

    oklch(76.7% 0.153 118.5)

  • #BF9FFF

    #BF9FFF

    oklch(76.8% 0.138 298.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AAC040

    #AAC040

    oklch(76.7% 0.153 118.5)

  • #DBAC17

    #DBAC17

    oklch(76.6% 0.152 88.2)

  • #65CD7B

    #65CD7B

    oklch(76.6% 0.152 148.7)

Open the analogous palette in the generator

Split complementary

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

  • #AAC040

    #AAC040

    oklch(76.7% 0.153 118.5)

  • #94B0FF

    #94B0FF

    oklch(76.7% 0.118 268.6)

  • #E78EE3

    #E78EE3

    oklch(76.7% 0.152 328.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AAC040

    #AAC040

    oklch(76.7% 0.153 118.5)

  • #53BEFF

    #53BEFF

    oklch(76.6% 0.135 238.8)

  • #FF87B2

    #FF87B2

    oklch(76.7% 0.152 358.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AAC040

    #AAC040

    oklch(76.7% 0.153 118.5)

  • #00CAE0

    #00CAE0

    oklch(76.8% 0.132 208.6)

  • #BF9FFF

    #BF9FFF

    oklch(76.8% 0.138 298.5)

  • #FF8F80

    #FF8F80

    oklch(76.7% 0.138 28.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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