#A7D338

Closest named color: Yellow Green (#9ACD32). oklch(80.8% 0.182 124.5), rgb(167, 211, 56).

Aa

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

About this color

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

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

Values

HEX#A7D338
RGBrgb(167, 211, 56)
HSLhsl(77, 64%, 52%)
OKLCHoklch(80.8% 0.182 124.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 #A7D338 1.74:1 Fails Lc -35.6 Non-text elements, placeholder text
Black text on #A7D338 12.01:1 AAA Lc 72.2 Content text, not long reading
#A7D338 text on white 1.74:1 Fails Lc 31.7 Non-text elements, placeholder text
#A7D338 text on black 12.01:1 AAA Lc -71.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

    #F2F9E7

    oklch(97.2% 0.025 124.3)

  2. Step 100

    100

    #E2F1CB

    oklch(93.7% 0.053 125)

  3. Step 200

    200

    #CAE59B

    oklch(88.4% 0.101 124.7)

  4. Step 300

    300 (this color)

    #A7D338

    oklch(80.8% 0.182 124.5)

  5. Step 400

    400

    #89B200

    oklch(70.8% 0.177 124.5)

  6. Step 500

    500

    #759800

    oklch(63% 0.157 124.4)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#A7D338 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)#DFC5170.078
Deuteranopia (no green cones)#D9C3460.081
Tritanopia (no blue cones)#AFC9B50.148
Achromatopsia (no color)#C4C4C40.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7D338

    #A7D338

    oklch(80.8% 0.182 124.5)

  • #D2ACFF

    #D2ACFF

    oklch(80.8% 0.121 304.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7D338

    #A7D338

    oklch(80.8% 0.182 124.5)

  • #E3BD00

    #E3BD00

    oklch(80.8% 0.166 94.3)

  • #3FE189

    #3FE189

    oklch(80.7% 0.182 154.5)

Open the analogous palette in the generator

Split complementary

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

  • #A7D338

    #A7D338

    oklch(80.8% 0.182 124.5)

  • #ADBCFF

    #ADBCFF

    oklch(80.8% 0.096 274.3)

  • #FF95EB

    #FF95EB

    oklch(80.8% 0.164 334.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7D338

    #A7D338

    oklch(80.8% 0.182 124.5)

  • #85C8FF

    #85C8FF

    oklch(80.9% 0.104 244.3)

  • #FFA0B7

    #FFA0B7

    oklch(80.8% 0.116 4.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7D338

    #A7D338

    oklch(80.8% 0.182 124.5)

  • #00D7F8

    #00D7F8

    oklch(80.8% 0.142 214)

  • #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 #A7D338, closest first.

Similar named colors

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

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