#A7C326

Closest named color: Pea (#A4BF20). oklch(77% 0.172 119.9), rgb(167, 195, 38).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.172)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.47:1
White text2.00:1

Values

HEX#A7C326
RGBrgb(167, 195, 38)
HSLhsl(71, 67%, 46%)
OKLCHoklch(77% 0.172 119.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 #A7C326 2.00:1 Fails Lc -43.1 Non-text elements, placeholder text
Black text on #A7C326 10.47:1 AAA Lc 65.2 Content text, not long reading
#A7C326 text on white 2.00:1 Fails Lc 38.7 Non-text elements, placeholder text
#A7C326 text on black 10.47:1 AAA Lc -63.7 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

    #E5EFCA

    oklch(93.5% 0.05 119.7)

  3. Step 200

    200

    #D1E39B

    oklch(88.5% 0.095 119.8)

  4. Step 300

    300 (this color)

    #A7C326

    oklch(77% 0.172 119.9)

  5. Step 400

    400

    #94AE00

    oklch(70.6% 0.167 119.8)

  6. Step 500

    500

    #7F9500

    oklch(63% 0.149 119.6)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#A7C326 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)#D0B7000.061
Deuteranopia (no green cones)#CDB7370.064
Tritanopia (no blue cones)#B1B8A70.147
Achromatopsia (no color)#B7B7B70.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7C326

    #A7C326

    oklch(77% 0.172 119.9)

  • #C29FFF

    #C29FFF

    oklch(77% 0.138 300)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7C326

    #A7C326

    oklch(77% 0.172 119.9)

  • #DBAE00

    #DBAE00

    oklch(77% 0.157 89.9)

  • #51D276

    #51D276

    oklch(77% 0.173 149.8)

Open the analogous palette in the generator

Split complementary

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

  • #A7C326

    #A7C326

    oklch(77% 0.172 119.9)

  • #97B0FF

    #97B0FF

    oklch(76.9% 0.117 270.1)

  • #F088E8

    #F088E8

    oklch(77% 0.172 329.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7C326

    #A7C326

    oklch(77% 0.172 119.9)

  • #5BBEFF

    #5BBEFF

    oklch(76.9% 0.131 240.3)

  • #FF89B0

    #FF89B0

    oklch(77% 0.148 0.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7C326

    #A7C326

    oklch(77% 0.172 119.9)

  • #00CAE3

    #00CAE3

    oklch(76.9% 0.133 210.4)

  • #C29FFF

    #C29FFF

    oklch(77% 0.138 300)

  • #FF9180

    #FF9180

    oklch(77% 0.136 29.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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