#A5D42E

Closest named color: Yellow Green (#9ACD32). oklch(80.8% 0.189 124.9), rgb(165, 212, 46).

Aa

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

About this color

#A5D42E is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.189 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Yellow Green (#9ACD32), ΔE 0.025 away. Black text reads best on it, at 12.05:1.

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.189)
Temperaturein between
Nearest nameYellow Green (#9ACD32)
Black text12.05:1
White text1.74:1

Values

HEX#A5D42E
RGBrgb(165, 212, 46)
HSLhsl(77, 66%, 51%)
OKLCHoklch(80.8% 0.189 124.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 #A5D42E 1.74:1 Fails Lc -35.4 Non-text elements, placeholder text
Black text on #A5D42E 12.05:1 AAA Lc 72.4 Content text, not long reading
#A5D42E text on white 1.74:1 Fails Lc 31.5 Non-text elements, placeholder text
#A5D42E text on black 12.05:1 AAA Lc -71.2 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

    #F1F9E7

    oklch(97.1% 0.025 126.5)

  2. Step 100

    100

    #E1F1C9

    oklch(93.6% 0.055 125.2)

  3. Step 200

    200

    #C9E699

    oklch(88.6% 0.105 125.3)

  4. Step 300

    300 (this color)

    #A5D42E

    oklch(80.8% 0.189 124.9)

  5. Step 400

    400

    #88B200

    oklch(70.7% 0.177 124.8)

  6. Step 500

    500

    #749900

    oklch(63.2% 0.159 125)

  7. Step 600

    600

    #618000

    oklch(55.5% 0.139 124.8)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #364A00

    oklch(37.8% 0.095 125.3)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#A5D42E 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)#E0C6000.082
Deuteranopia (no green cones)#DAC43F0.084
Tritanopia (no blue cones)#ADCAB60.154
Achromatopsia (no color)#C4C4C40.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #A5D42E

    #A5D42E

    oklch(80.8% 0.189 124.9)

  • #D2ACFF

    #D2ACFF

    oklch(80.8% 0.121 304.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A5D42E

    #A5D42E

    oklch(80.8% 0.189 124.9)

  • #E2BE00

    #E2BE00

    oklch(80.9% 0.166 95.2)

  • #2FE388

    #2FE388

    oklch(80.9% 0.189 154.8)

Open the analogous palette in the generator

Split complementary

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

  • #A5D42E

    #A5D42E

    oklch(80.8% 0.189 124.9)

  • #AEBCFF

    #AEBCFF

    oklch(80.9% 0.096 274.9)

  • #FF96EA

    #FF96EA

    oklch(80.9% 0.161 334.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A5D42E

    #A5D42E

    oklch(80.8% 0.189 124.9)

  • #86C8FF

    #86C8FF

    oklch(80.9% 0.103 244.7)

  • #FFA1B6

    #FFA1B6

    oklch(80.9% 0.114 5.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A5D42E

    #A5D42E

    oklch(80.8% 0.189 124.9)

  • #00D7F9

    #00D7F9

    oklch(80.9% 0.143 214.6)

  • #D2ACFF

    #D2ACFF

    oklch(80.8% 0.121 304.8)

  • #FFA690

    #FFA690

    oklch(80.8% 0.111 34.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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