#AFC76F

Closest named color: Light Moss Green (#A6C875). oklch(79.2% 0.117 121.6), rgb(175, 199, 111).

Aa

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

About this color

#AFC76F is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.117 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Moss Green (#A6C875), ΔE 0.012 away. Black text reads best on it, at 11.22:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameLight Moss Green (#A6C875)
Black text11.22:1
White text1.87:1

Values

HEX#AFC76F
RGBrgb(175, 199, 111)
HSLhsl(76, 44%, 61%)
OKLCHoklch(79.2% 0.117 121.6)

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 #AFC76F 1.87:1 Fails Lc -39.6 Non-text elements, placeholder text
Black text on #AFC76F 11.22:1 AAA Lc 68.5 Content text, not long reading
#AFC76F text on white 1.87:1 Fails Lc 35.4 Non-text elements, placeholder text
#AFC76F text on black 11.22:1 AAA Lc -67.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

    #F4F7EC

    oklch(97.1% 0.015 119.1)

  2. Step 100

    100

    #E6EED5

    oklch(93.6% 0.034 121.5)

  3. Step 200

    200

    #D2E0B1

    oklch(88.4% 0.064 121.2)

  4. Step 300

    300 (this color)

    #AFC76F

    oklch(79.2% 0.117 121.6)

  5. Step 400

    400

    #90B000

    oklch(70.8% 0.171 121.8)

  6. Step 500

    500

    #7B9700

    oklch(63.2% 0.153 121.9)

  7. Step 600

    600

    #677E00

    oklch(55.5% 0.134 121.5)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFC76F 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)#D0BE680.048
Deuteranopia (no green cones)#CDBD740.050
Tritanopia (no blue cones)#B6BFB20.097
Achromatopsia (no color)#BDBDBD0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC76F

    #AFC76F

    oklch(79.2% 0.117 121.6)

  • #C9A9FA

    #C9A9FA

    oklch(79.2% 0.117 301.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC76F

    #AFC76F

    oklch(79.2% 0.117 121.6)

  • #D6B95C

    #D6B95C

    oklch(79.2% 0.117 92.2)

  • #7FD195

    #7FD195

    oklch(79.2% 0.118 151.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFC76F

    #AFC76F

    oklch(79.2% 0.117 121.6)

  • #A3B7FF

    #A3B7FF

    oklch(79.1% 0.105 271.9)

  • #E79FDD

    #E79FDD

    oklch(79.2% 0.117 331.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC76F

    #AFC76F

    oklch(79.2% 0.117 121.6)

  • #73C4FF

    #73C4FF

    oklch(79.2% 0.116 241.8)

  • #F99BB6

    #F99BB6

    oklch(79.2% 0.116 1.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC76F

    #AFC76F

    oklch(79.2% 0.117 121.6)

  • #4BCFE6

    #4BCFE6

    oklch(79.2% 0.117 211.4)

  • #C9A9FA

    #C9A9FA

    oklch(79.2% 0.117 301.9)

  • #FD9E8C

    #FD9E8C

    oklch(79.1% 0.117 31.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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