#AFCA7B

Closest named color: Light Moss Green (#A6C875). oklch(80% 0.108 124.2), rgb(175, 202, 123).

Aa

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

About this color

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

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

Values

HEX#AFCA7B
RGBrgb(175, 202, 123)
HSLhsl(81, 43%, 64%)
OKLCHoklch(80% 0.108 124.2)

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 #AFCA7B 1.81:1 Fails Lc -37.9 Non-text elements, placeholder text
Black text on #AFCA7B 11.55:1 AAA Lc 70.0 Content text, not long reading
#AFCA7B text on white 1.81:1 Fails Lc 33.8 Non-text elements, placeholder text
#AFCA7B text on black 11.55: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

    #E5EED7

    oklch(93.6% 0.032 124.5)

  3. Step 200

    200

    #D0E0B5

    oklch(88.4% 0.06 124.2)

  4. Step 300

    300 (this color)

    #AFCA7B

    oklch(80% 0.108 124.2)

  5. Step 400

    400

    #8AB10E

    oklch(70.6% 0.173 124.1)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526B00

    oklch(49% 0.122 124.1)

  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

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFCA7B 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)#D2C1750.050
Deuteranopia (no green cones)#CFC07F0.051
Tritanopia (no blue cones)#B4C3B60.087
Achromatopsia (no color)#C0C0C00.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCA7B

    #AFCA7B

    oklch(80% 0.108 124.2)

  • #CDACF7

    #CDACF7

    oklch(80% 0.109 304.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCA7B

    #AFCA7B

    oklch(80% 0.108 124.2)

  • #D4BD69

    #D4BD69

    oklch(80% 0.108 94.5)

  • #84D39E

    #84D39E

    oklch(80.2% 0.109 153.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFCA7B

    #AFCA7B

    oklch(80% 0.108 124.2)

  • #AAB9FF

    #AAB9FF

    oklch(80% 0.101 274.6)

  • #E9A3DA

    #E9A3DA

    oklch(80% 0.109 334.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCA7B

    #AFCA7B

    oklch(80% 0.108 124.2)

  • #7FC6FF

    #7FC6FF

    oklch(80.1% 0.108 243.9)

  • #F9A0B5

    #F9A0B5

    oklch(80% 0.108 4.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCA7B

    #AFCA7B

    oklch(80% 0.108 124.2)

  • #5ED0E8

    #5ED0E8

    oklch(80.1% 0.108 213.7)

  • #CDACF7

    #CDACF7

    oklch(80% 0.109 304.2)

  • #FBA48F

    #FBA48F

    oklch(80% 0.108 34.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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