#AFCB77

Closest named color: Light Moss Green (#A6C875). oklch(80.2% 0.114 124), rgb(175, 203, 119).

Aa

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

About this color

#AFCB77 is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.114 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.63:1.

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

Values

HEX#AFCB77
RGBrgb(175, 203, 119)
HSLhsl(80, 45%, 63%)
OKLCHoklch(80.2% 0.114 124)

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 #AFCB77 1.80:1 Fails Lc -37.6 Non-text elements, placeholder text
Black text on #AFCB77 11.63:1 AAA Lc 70.4 Content text, not long reading
#AFCB77 text on white 1.80:1 Fails Lc 33.5 Non-text elements, placeholder text
#AFCB77 text on black 11.63:1 AAA Lc -69.1 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

    #F3F7EC

    oklch(97% 0.015 123)

  2. Step 100

    100

    #E5EED6

    oklch(93.6% 0.033 123.8)

  3. Step 200

    200

    #D0E1B3

    oklch(88.5% 0.064 124.2)

  4. Step 300

    300 (this color)

    #AFCB77

    oklch(80.2% 0.114 124)

  5. Step 400

    400

    #8AB100

    oklch(70.6% 0.175 124)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  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

    #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

#AFCB77 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)#D4C2710.052
Deuteranopia (no green cones)#D0C17B0.052
Tritanopia (no blue cones)#B5C4B70.093
Achromatopsia (no color)#C1C1C10.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFCB77

    #AFCB77

    oklch(80.2% 0.114 124)

  • #CEACFA

    #CEACFA

    oklch(80.2% 0.113 303.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFCB77

    #AFCB77

    oklch(80.2% 0.114 124)

  • #D6BD63

    #D6BD63

    oklch(80.1% 0.114 94.1)

  • #81D49D

    #81D49D

    oklch(80.2% 0.113 154.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFCB77

    #AFCB77

    oklch(80.2% 0.114 124)

  • #AABAFF

    #AABAFF

    oklch(80.2% 0.1 273.9)

  • #EBA2DD

    #EBA2DD

    oklch(80.1% 0.115 333.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFCB77

    #AFCB77

    oklch(80.2% 0.114 124)

  • #7FC6FF

    #7FC6FF

    oklch(80.1% 0.108 243.9)

  • #FC9FB6

    #FC9FB6

    oklch(80.2% 0.113 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFCB77

    #AFCB77

    oklch(80.2% 0.114 124)

  • #56D1EB

    #56D1EB

    oklch(80.2% 0.114 214.1)

  • #CEACFA

    #CEACFA

    oklch(80.2% 0.113 303.9)

  • #FFA38D

    #FFA38D

    oklch(80.2% 0.114 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 #AFCB77, closest first.

Similar named colors

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

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