#AFC86C

Closest named color: Light Moss Green (#A6C875). oklch(79.4% 0.122 121.7), rgb(175, 200, 108).

Aa

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

About this color

#AFC86C is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.122 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.014 away. Black text reads best on it, at 11.30:1.

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

Values

HEX#AFC86C
RGBrgb(175, 200, 108)
HSLhsl(76, 46%, 60%)
OKLCHoklch(79.4% 0.122 121.7)

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 #AFC86C 1.85:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #AFC86C 11.30:1 AAA Lc 68.9 Content text, not long reading
#AFC86C text on white 1.85:1 Fails Lc 35.0 Non-text elements, placeholder text
#AFC86C text on black 11.30:1 AAA Lc -67.6 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

    #F3F7EB

    oklch(97% 0.016 121.8)

  2. Step 100

    100

    #E6EED4

    oklch(93.6% 0.035 121)

  3. Step 200

    200

    #D2E1AF

    oklch(88.6% 0.068 121.4)

  4. Step 300

    300 (this color)

    #AFC86C

    oklch(79.4% 0.122 121.7)

  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

    #677F00

    oklch(55.7% 0.135 121.9)

  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

#AFC86C 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)#D2BF640.050
Deuteranopia (no green cones)#CEBE710.051
Tritanopia (no blue cones)#B6C0B20.100
Achromatopsia (no color)#BEBEBE0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC86C

    #AFC86C

    oklch(79.4% 0.122 121.7)

  • #CAA9FD

    #CAA9FD

    oklch(79.4% 0.121 301.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC86C

    #AFC86C

    oklch(79.4% 0.122 121.7)

  • #D8B958

    #D8B958

    oklch(79.4% 0.121 91.7)

  • #7DD294

    #7DD294

    oklch(79.3% 0.121 151.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFC86C

    #AFC86C

    oklch(79.4% 0.122 121.7)

  • #A4B8FF

    #A4B8FF

    oklch(79.4% 0.104 271.8)

  • #E99EDF

    #E99EDF

    oklch(79.3% 0.122 331.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC86C

    #AFC86C

    oklch(79.4% 0.122 121.7)

  • #74C5FF

    #74C5FF

    oklch(79.4% 0.115 241.4)

  • #FC9AB6

    #FC9AB6

    oklch(79.4% 0.121 1.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC86C

    #AFC86C

    oklch(79.4% 0.122 121.7)

  • #43D0E9

    #43D0E9

    oklch(79.4% 0.122 212.1)

  • #CAA9FD

    #CAA9FD

    oklch(79.4% 0.121 301.8)

  • #FF9E8B

    #FF9E8B

    oklch(79.4% 0.12 31.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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