#AFCA7C

Closest named color: Light Moss Green (#A6C875). oklch(80.1% 0.107 124.3), rgb(175, 202, 124).

Aa

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

About this color

#AFCA7C is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.107 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.016 away. Black text reads best on it, at 11.56:1.

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameLight Moss Green (#A6C875)
Black text11.56:1
White text1.81:1

Values

HEX#AFCA7C
RGBrgb(175, 202, 124)
HSLhsl(81, 42%, 64%)
OKLCHoklch(80.1% 0.107 124.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 #AFCA7C 1.81:1 Fails Lc -37.9 Non-text elements, placeholder text
Black text on #AFCA7C 11.56:1 AAA Lc 70.0 Content text, not long reading
#AFCA7C text on white 1.81:1 Fails Lc 33.8 Non-text elements, placeholder text
#AFCA7C text on black 11.56:1 AAA Lc -68.8 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

    #E5EED8

    oklch(93.6% 0.031 125.2)

  3. Step 200

    200

    #D0E0B6

    oklch(88.4% 0.059 124.5)

  4. Step 300

    300 (this color)

    #AFCA7C

    oklch(80.1% 0.107 124.3)

  5. Step 400

    400

    #8AB115

    oklch(70.6% 0.171 124.2)

  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

    #435800

    oklch(42.7% 0.106 124.1)

  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

#AFCA7C 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)#D2C1760.050
Deuteranopia (no green cones)#CEC0800.050
Tritanopia (no blue cones)#B4C3B70.087
Achromatopsia (no color)#C0C0C00.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCA7C

    #AFCA7C

    oklch(80.1% 0.107 124.3)

  • #CDADF6

    #CDADF6

    oklch(80.1% 0.106 304.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCA7C

    #AFCA7C

    oklch(80.1% 0.107 124.3)

  • #D4BD6A

    #D4BD6A

    oklch(80% 0.107 94.3)

  • #84D29F

    #84D29F

    oklch(79.9% 0.106 154.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFCA7C

    #AFCA7C

    oklch(80.1% 0.107 124.3)

  • #AAB9FF

    #AAB9FF

    oklch(80% 0.101 274.6)

  • #E9A4DA

    #E9A4DA

    oklch(80.1% 0.107 334.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCA7C

    #AFCA7C

    oklch(80.1% 0.107 124.3)

  • #80C6FE

    #80C6FE

    oklch(80.2% 0.107 243.8)

  • #F8A1B5

    #F8A1B5

    oklch(80.1% 0.106 4.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCA7C

    #AFCA7C

    oklch(80.1% 0.107 124.3)

  • #60D0E8

    #60D0E8

    oklch(80.2% 0.107 213.9)

  • #CDADF6

    #CDADF6

    oklch(80.1% 0.106 304.2)

  • #FBA590

    #FBA590

    oklch(80.2% 0.107 34.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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