#AFC868

Closest named color: Light Moss Green (#A6C875). oklch(79.3% 0.126 121.3), rgb(175, 200, 104).

Aa

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

About this color

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

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

Values

HEX#AFC868
RGBrgb(175, 200, 104)
HSLhsl(76, 47%, 60%)
OKLCHoklch(79.3% 0.126 121.3)

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 #AFC868 1.86:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #AFC868 11.28:1 AAA Lc 68.8 Content text, not long reading
#AFC868 text on white 1.86:1 Fails Lc 35.1 Non-text elements, placeholder text
#AFC868 text on black 11.28: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

    #F3F7EB

    oklch(97% 0.016 121.8)

  2. Step 100

    100

    #E6EED3

    oklch(93.6% 0.037 120.5)

  3. Step 200

    200

    #D2E1AE

    oklch(88.6% 0.069 121.1)

  4. Step 300

    300 (this color)

    #AFC868

    oklch(79.3% 0.126 121.3)

  5. Step 400

    400

    #91AF00

    oklch(70.6% 0.17 121.2)

  6. Step 500

    500

    #7C9600

    oklch(63% 0.151 121.2)

  7. Step 600

    600

    #687E00

    oklch(55.5% 0.133 121.1)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475700

    oklch(42.8% 0.103 121.1)

  10. Step 900

    900

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFC868 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)#D2BE600.051
Deuteranopia (no green cones)#CFBE6D0.052
Tritanopia (no blue cones)#B6C0B20.104
Achromatopsia (no color)#BEBEBE0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFC868

    #AFC868

    oklch(79.3% 0.126 121.3)

  • #CAA8FF

    #CAA8FF

    oklch(79.3% 0.125 301.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFC868

    #AFC868

    oklch(79.3% 0.126 121.3)

  • #D9B853

    #D9B853

    oklch(79.2% 0.125 91.2)

  • #7AD392

    #7AD392

    oklch(79.4% 0.127 151.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFC868

    #AFC868

    oklch(79.3% 0.126 121.3)

  • #A3B8FF

    #A3B8FF

    oklch(79.3% 0.104 271.2)

  • #EA9DE0

    #EA9DE0

    oklch(79.3% 0.125 331.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFC868

    #AFC868

    oklch(79.3% 0.126 121.3)

  • #73C5FF

    #73C5FF

    oklch(79.4% 0.115 241.1)

  • #FE98B6

    #FE98B6

    oklch(79.3% 0.126 1.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFC868

    #AFC868

    oklch(79.3% 0.126 121.3)

  • #39D1E9

    #39D1E9

    oklch(79.4% 0.126 210.8)

  • #CAA8FF

    #CAA8FF

    oklch(79.3% 0.125 301.6)

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

Similar named colors

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

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