#A7C628

Closest named color: Pea (#A4BF20). oklch(77.7% 0.175 120.8), rgb(167, 198, 40).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (78%)
Chromavivid (0.175)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.75:1
White text1.95:1

Values

HEX#A7C628
RGBrgb(167, 198, 40)
HSLhsl(72, 66%, 47%)
OKLCHoklch(77.7% 0.175 120.8)

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 #A7C628 1.95:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #A7C628 10.75:1 AAA Lc 66.5 Content text, not long reading
#A7C628 text on white 1.95:1 Fails Lc 37.4 Non-text elements, placeholder text
#A7C628 text on black 10.75:1 AAA Lc -65.0 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

    #F3F8E7

    oklch(97.1% 0.023 120.2)

  2. Step 100

    100

    #E5F0CA

    oklch(93.7% 0.051 120.5)

  3. Step 200

    200

    #D0E39B

    oklch(88.5% 0.096 120.4)

  4. Step 300

    300 (this color)

    #A7C628

    oklch(77.7% 0.175 120.8)

  5. Step 400

    400

    #92AF00

    oklch(70.7% 0.169 120.8)

  6. Step 500

    500

    #7D9600

    oklch(63.1% 0.151 120.8)

  7. Step 600

    600

    #697E00

    oklch(55.6% 0.133 120.6)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#A7C628 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)#D3BA000.064
Deuteranopia (no green cones)#CFBA390.066
Tritanopia (no blue cones)#B1BBA90.148
Achromatopsia (no color)#B9B9B90.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7C628

    #A7C628

    oklch(77.7% 0.175 120.8)

  • #C5A1FF

    #C5A1FF

    oklch(77.6% 0.136 300.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7C628

    #A7C628

    oklch(77.7% 0.175 120.8)

  • #DDB100

    #DDB100

    oklch(77.8% 0.159 90.7)

  • #4DD579

    #4DD579

    oklch(77.7% 0.176 150.7)

Open the analogous palette in the generator

Split complementary

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

  • #A7C628

    #A7C628

    oklch(77.7% 0.175 120.8)

  • #9BB2FF

    #9BB2FF

    oklch(77.6% 0.113 270.9)

  • #F489E9

    #F489E9

    oklch(77.7% 0.174 331)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7C628

    #A7C628

    oklch(77.7% 0.175 120.8)

  • #64C0FF

    #64C0FF

    oklch(77.7% 0.126 240.9)

  • #FF8EB1

    #FF8EB1

    oklch(77.8% 0.141 1.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7C628

    #A7C628

    oklch(77.7% 0.175 120.8)

  • #00CDE7

    #00CDE7

    oklch(77.8% 0.135 210.8)

  • #C5A1FF

    #C5A1FF

    oklch(77.6% 0.136 300.9)

  • #FF9582

    #FF9582

    oklch(77.7% 0.131 31.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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