#AFC77F

Closest named color: Light Moss Green (#A6C875). oklch(79.4% 0.099 123.6), rgb(175, 199, 127).

Aa

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

About this color

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

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

Values

HEX#AFC77F
RGBrgb(175, 199, 127)
HSLhsl(80, 39%, 64%)
OKLCHoklch(79.4% 0.099 123.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 #AFC77F 1.85:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #AFC77F 11.29:1 AAA Lc 68.9 Content text, not long reading
#AFC77F text on white 1.85:1 Fails Lc 35.0 Non-text elements, placeholder text
#AFC77F text on black 11.29:1 AAA Lc -67.5 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

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100

    #E6EDD9

    oklch(93.5% 0.028 122.7)

  3. Step 200

    200

    #D2E0B8

    oklch(88.6% 0.055 123.2)

  4. Step 300

    300 (this color)

    #AFC77F

    oklch(79.4% 0.099 123.6)

  5. Step 400

    400

    #8DB02B

    oklch(70.7% 0.159 123.6)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFC77F 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)#CFBF7A0.046
Deuteranopia (no green cones)#CCBE820.046
Tritanopia (no blue cones)#B4C0B50.081
Achromatopsia (no color)#BEBEBE0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC77F

    #AFC77F

    oklch(79.4% 0.099 123.6)

  • #C9ACF0

    #C9ACF0

    oklch(79.3% 0.099 303.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC77F

    #AFC77F

    oklch(79.4% 0.099 123.6)

  • #D1BB6F

    #D1BB6F

    oklch(79.4% 0.099 93.7)

  • #88CF9E

    #88CF9E

    oklch(79.4% 0.1 153.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFC77F

    #AFC77F

    oklch(79.4% 0.099 123.6)

  • #A7B8FC

    #A7B8FC

    oklch(79.5% 0.099 273.2)

  • #E3A4D7

    #E3A4D7

    oklch(79.4% 0.099 333.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC77F

    #AFC77F

    oklch(79.4% 0.099 123.6)

  • #83C3F7

    #83C3F7

    oklch(79.4% 0.099 244)

  • #F2A1B5

    #F2A1B5

    oklch(79.4% 0.099 3.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC77F

    #AFC77F

    oklch(79.4% 0.099 123.6)

  • #67CDE2

    #67CDE2

    oklch(79.5% 0.099 212.9)

  • #C9ACF0

    #C9ACF0

    oklch(79.3% 0.099 303.7)

  • #F5A592

    #F5A592

    oklch(79.5% 0.099 34)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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